def overlaps(box1, box2):
    """
    Checks whether two boxes have any overlap.
    
    Args:
        box1: (float, float, float, float)
            Box coordinates as (x0, y0, x1, y1).
        
        box2: (float, float, float, float)
            Box coordinates as (x0, y0, x1, y1).
    
    Returns:
        bool
            True if there is any overlap between given boxes.
    """
    
    if not ((box1[0] <= box2[0] <= box1[2])
        or (box1[0] <= box2[2] <= box1[2])
        or (box2[0] <= box1[0] and box2[2] >= box1[2])):
        return False
    
    if not ((box1[1] <= box2[1] <= box1[3])
        or (box1[1] <= box2[3] <= box1[3])
        or (box2[1] <= box1[1] and box2[3] >= box1[3])):
        return False
    
    return True