def __eq__(self, other):
    if (other is None):
        return False
    if (not isinstance(other, Type)):
        return False
    return (self.value == other.value)
def __eq__(self, other):
    if (other is None):
        return False
    if (not isinstance(other, Type)):
        return False
    return (self.value == other.value)