def _time_has_passed(self, time_container):
        """Checks if time has already passed the current time.

        Args:
          time_container: Object with hour and minute fields.

        Returns:
          True if the given time has passed, False otherwise.
        """
        now = self.now()
        return (time_container.hour < now.hour or
                (time_container.hour == now.hour and
                 time_container.minute < now.minute))
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/calendar/date.py/DateParser._time_has_passed/original