def validate_none ( self, object, name, value ):
        if isinstance( value, object.__class__ ) or (value == None):
            return value

        self.validate_failed( object, name, value )
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/ThisClass.validate_none/operator `is` -> `==`