def __contains__(self, key):
    """Returns True if the item is in the list.

    Parameters
    ----------
    self : ee.List
        List to check.
    key : item
        Item to check.

    Returns
    -------
    boolean
        Whether the item is contained in the list.

    Examples
    --------
    >>> import ee, eemont
    >>> ee.Authenticate()
    >>> ee.Initialize()
    >>> eeList = ee.List([1,2,3,5])
    >>> 1 in eeList
    True
    >>> 3 in eeList
    False
    """
    return self.contains(key).getInfo()