How to make this area Queue_Free when this hitbox touches it?

4.3

I’m trying to make this area when touching this bullet queue free, but it won’t work. How can I make this work?

    func _on_area_entered(area):
         if class_name == Bullet:
	         queue_free()
func _on_area_entered(area):
	if area is Bullet:
		area.queue_free()
		queue_free()

thanks!

if it solved please mark so