def bbox_vert_aligned(box1, box2):
if not (box1 and box2):<EOL><INDENT>return False<EOL><DEDENT>box1_left = box1.left + <NUM_LIT><EOL>box2_left = box2.left + <NUM_LIT><EOL>box1_right = box1.right - <NUM_LIT><EOL>box2_right = box2.right - <NUM_LIT><EOL>return not (box1_left > box2_right or box2_left > box1_right)<EOL>
Returns true if the horizontal center point of either span is within the
horizontal range of the other