def _mine_function_available(func):
    if __salt__ not in func:
        log.error('Function {0} in mine_functions not available'
                 .format(func))
        return False
    return True
dataset/ETHPy150Open saltstack/salt/salt/modules/mine.py/_mine_function_available/swapped operands of `not in`