default=False,help_text="Toggle to True if the Facility is open 24 hours. You do not need to specify any Open Times, it will always be displayed as open.")
defis_open_now(self):
"""
Return true if this schedule is open right now.
"""
# If the schedule is a 24 hour one, then it's open.
ifself.twenty_four_hours:
returnTrue
# Otherwise let's check if it's open.
else:
# Loop through all the open times that correspond to this schedule