def emptyvalidator(data_input, mode):
    """Empty validator will return always false for security reason
    """

    if mode <= MODE.NONE:
        return True
    else:
        return False
dataset/ETHPy150Open geopython/pywps/pywps/validator/base.py/emptyvalidator/original