I'm not sure if it can be used as a solid rule, but:

"Есть" can be used when you ask if something exists (or state that something exists).
- У тебя есть машина? = Do you have a car?
- Да(, у...