def _is_junction(arg):
    return isinstance(arg, dict) and len(arg) == 1 and next(six.iterkeys(arg)) == 'junction'
Return True, if arg is a junction statement.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_is_junction