added is_open function for testing opening hours directly in th DB