def callback(val, schema, name = None): # pylint: disable-msg=W0613
    """
    !~~callback(function)
    """
    if name is None:
        name = schema

    if not _callbacks.has_key(name):
        return False

    return _callbacks[name](val)