'Return true if this and the compared object have the same
long imdb title and/or movieID.'

def isSameTitle(self, other):

    if (not isinstance(other, self.__class__)):
        return 0
    if (self.data.has_key('title') and other.data.has_key('title') and (build_title(self.data, canonical=0) == build_title(other.data, canonical=0))):
        return 1
    if ((self.accessSystem == other.accessSystem) and (self.movieID is not None) and (self.movieID == other.movieID)):
        return 1
    return 0
