def bb_overlaps(box0, box1, padding=0):
    """
    Look for an overlap between the given rectangles
    
    return True or False
    """
    ovl_y = box0.y0 < (box1.y1 + padding) and box1.y0 < (box0.y1 + padding)
    ovl_x = box0.x0 < (box1.x1 + padding) and box1.x0 < (box0.x1 + padding)
    return ovl_y and ovl_x