Names must be unique among sibling nodes.
For a situation like this, groups are an ideal solution. Put your bullet in a group called "bullets", and then you can do
if area.is_in_group("bullets"):
Another solution is to use
class_name Bullet
in the top of the bullet's script and then you can do
if area is Bullet: