def time_in_range(start, end, day_start, day_end):
    """Return true if event time range overlaps day range"""
    if (start <= day_start and end >= day_end):
        return True
    elif (start >= day_start and start <= day_end):
        return True
    elif (end >= day_start and end <= day_end):
        return True
    return False