add isAvailable method in Room class