
from functions import isAvailable

rooms = [
    {"name":"Hilton", "stars":5, "booked":[True,True]},
    {"name":"NH", "stars":4,"booked":[True,True,False,False]},
    {"name":"Sheraton", "stars":7, "booked":[True,True]}
]

isAvailable(rooms)