def _is_valid_for ( self, object, name, value ):
        if self.is_valid_for( value ):
            return value

        self.error( object, name, value )
Handles a simplified validator that only returns whether or not the
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitType._is_valid_for