'Return true if this Character was portrayed in the given Movie
or it was impersonated by the given Person.'

def __contains__(self, item):

    from Movie import Movie
    from Person import Person
    if isinstance(item, Person):
        for m in flatten(self.data, yieldDictKeys=1, scalar=Movie):
            if item.isSame(m.currentRole):
                return 1
    elif isinstance(item, Movie):
        for m in flatten(self.data, yieldDictKeys=1, scalar=Movie):
            if item.isSame(m):
                return 1
    return 0
