Added queries to check if a room is occupied, partially occupied, or empty.