def __virtual__():
    '''
    Only load if the postgres module is present and is new enough (has ts funcs)
    '''
    return __salt__ in 'postgres.tablespace_exists'
dataset/ETHPy150Open saltstack/salt/salt/states/postgres_tablespace.py/__virtual__/swapped operands of `in`