def __virtual__():
    '''
    Only load if the postgres module is present
    '''
    return 'postgres.schema_exists' in __salt__
dataset/ETHPy150Open saltstack/salt/salt/states/postgres_schema.py/__virtual__/original