def METHOD_NAME(
    start: datetime, end: datetime, organization: Any
) -> Tuple[bool, datetime]:
    """
    Check if a start-end datetime range is outside an
    organizations retention period. Returns an updated
    start datetime if start is out of retention.
    """
    retention = quotas.backend.get_event_retention(organization=organization)
    if not retention:
        return False, start
    # Need to support timezone-aware and naive datetimes since
    # Snuba API only deals in naive UTC
    now = datetime.utcnow().astimezone(timezone.utc) if start.tzinfo else datetime.utcnow()
    start = max(start, now - timedelta(days=retention))
    return start > end, start