def doOverlap(bbox1, bbox2):
if bbox1[<NUM_LIT:2>] < bbox2[<NUM_LIT:0>] or bbox2[<NUM_LIT:2>] < bbox1[<NUM_LIT:0>]:<EOL><INDENT>return False<EOL><DEDENT>if bbox1[<NUM_LIT:3>] < bbox2[<NUM_LIT:1>] or bbox2[<NUM_LIT:3>] < bbox1[<NUM_LIT:1>]:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
:param bbox1: bounding box of the first rectangle
:param bbox2: bounding box of the second rectangle
:return: 1 if the two rectangles overlap