def is_in_schedule_mode(self):
        """Returns True if base_station is currently on a scheduled mode."""
        resource = "schedule"
        mode_event = self.publish_and_get_event(resource)
        if mode_event and mode_event.get("resource", None) == "schedule":
            properties = mode_event.get('properties')
            return properties.get("active", False)
        return False
Returns True if base_station is currently on a scheduled mode.