In debug mode you can check how many instances there are of the bat sprite. Maybe there are -for some reason- 0 instances.
Ok I've tried it, but I do not see any sense of what's happening.
That is, the condition is true although in the debug it says that the object exists.
I do not see sense.
Try the test.
When you press space, the text is printed.
How is it possible?.
That condition should be false because the object was created before, so sprite.count is not <= 0.