'**SUMMARY**
Return true if the feature is to the left of  the object, where object can be a bounding box,
bounding circle, a list of tuples in a closed polygon, or any other featutres.
**PARAMETERS**
* *object*
* A bounding box - of the form (x,y,w,h) where x,y is the upper left corner
* A bounding circle of the form (x,y,r)
* A list of x,y tuples defining a closed polygon e.g. ((x,y),(x,y),....)
* Any two dimensional feature (e.g. blobs, circle ...)
**RETURNS**
Returns a Boolean, True if the feature is to the left of  the object, False otherwise.
**EXAMPLE**
>>> img = Image("Lenna")
>>> blobs = img.findBlobs()
>>> b = blobs[0]
>>> if( blobs[-1].left(b) ):
>>>    print "left of  the biggest blob"'

def left(self, object):

    if isinstance(object, Feature):
        return (self.maxX() < object.minX())
    elif (isinstance(object, tuple) or isinstance(object, np.ndarray)):
        return (self.maxX() < object[0])
    elif (isinstance(object, float) or isinstance(object, int)):
        return (self.maxX() < object)
    else:
        logger.warning('SimpleCV    did    not    recognize    the    input    type    to    feature.left().    This    method    only    takes    another    feature,    an    (x,y)    tuple,    or    a    ndarray    type.')
        return None
