def __ne__(self,other):

    if self is None or other is None:
        return True
    elif self.serial == other.serial: