Is there gravity in the absence of air?

there not connected you can have gravity without air