def includes(self, query):
query = self.to_timezone(query)<EOL>return any(self.intervals(range_start=query, range_end=query))<EOL>
Does this schedule include the provided time?
        query should be a datetime (naive or timezone-aware)