class_docstr: Similar to BoundingBox, but the region is the ellipse
  inscribed within the rectangle.
class_docstr_tok: ["Similar","to","BoundingBox",",","but","the","region","is","the","ellipse","inscribed","within","the","rectangle","."]
code: def contains(self, x, y):
      left, bottom, right, top = self.aarect().lbrt()
      xr = (right - left) / 2.0
      yr = (top - bottom) / 2.0
      xc = left + xr
      yc = bottom + yr
  
      xd = x - xc
      yd = y - yc
  
      return (xd**2 / xr**2 + yd**2 / yr**2) <= 1
  
imports: from param.parameterized import get_occupied_slots
  from .util import datetime_types
label_desc: Use image node_id 1 for calling the BoundingEllipse obj's underlying member method code with example usage: obj.contains(x, y) and returns: unknown