def METHOD_NAME(
    self,
    pushed_at: datetime,
    start_time: Optional[datetime] = None,
    end_time: Optional[datetime] = None,
):
    # Explicitly set timezone of pushed_at, as it is not set by the library (but is in UTC)
    pushed_at = pushed_at.replace(tzinfo=timezone.utc)
    if start_time:
        if pushed_at > start_time:
            return True
        else:
            self.LOGGER.info(
                f"Reached activity limit! Ignoring all repos with activity since `{start_time}`."
            )
            return False
    elif end_time:
        if pushed_at < end_time:
            return True
        else:
            self.LOGGER.info(
                f"Reached activity limit! Ignoring all repos with activity until `{end_time}`."
            )
            return False