def __eq__(self,other):
    if self is None or other is None:
        return False
    elif self.serial == other.serial:
        return True