def contains(self, other):
if isinstance(other, tuple):<EOL><INDENT>x, y = other<EOL><DEDENT>else:<EOL><INDENT>x, y = other.x, other.y<EOL><DEDENT>return self.x1 <= x <= self.x2 and self.y1 <= y <= self.y2<EOL>
Estimate whether the bounding box contains a point.

Parameters
----------
other : tuple of number or imgaug.Keypoint
    Point to check for.

Returns
-------
bool
    True if the point is contained in the bounding box, False otherwise.