'Return true if the given Person object is listed in this Movie,
or if the the given Character is represented in this Movie.'

def __contains__(self, item):

    from Person import Person
    from Character import Character
    from Company import Company
    if isinstance(item, Person):
        for p in flatten(self.data, yieldDictKeys=1, scalar=Person, toDescend=(list, dict, tuple, Movie)):
            if item.isSame(p):
                return 1
    elif isinstance(item, Character):
        for p in flatten(self.data, yieldDictKeys=1, scalar=Person, toDescend=(list, dict, tuple, Movie)):
            if item.isSame(p.currentRole):
                return 1
    elif isinstance(item, Company):
        for c in flatten(self.data, yieldDictKeys=1, scalar=Company, toDescend=(list, dict, tuple, Movie)):
            if item.isSame(c):
                return 1
    return 0
