def __eq__(self, other):
if not (hasattr(other, '<STR_LIT>') and hasattr(other, '<STR_LIT>')) and len(other) < <NUM_LIT:2>:<EOL><INDENT>return False<EOL><DEDENT>other = BoundingBox(other)<EOL>return self.top_left == other.top_left and self.bottom_right == other.bottom_right<EOL>
Compares BoundingBox with BoundingBox or indexable object