def __ne__(self, other):
    if isinstance(other, Plug):
        other = other.read()
    return (self.read() != other)
def __ne__(self, other):
    if isinstance(other, Plug):
        other = other.read()
    return (self.read() != other)