def validate ( self, object, name, value ):
        if isinstance( value, self.fast_validate[1:] ):
            return value

        self.error( object, name, value )
Validates that the value is a Python callable.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/BaseType.validate