def _is_reference(arg):
    return isinstance(arg, dict) and len(arg) == 1 and isinstance(next(six.itervalues(arg)), six.string_types)
Return True, if arg is a reference to a previously defined statement.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_is_reference