@decorators.which('id')
def primary_group(name):
    return __salt__['cmd.run'](['id', '-g', '-n', name])
Selects `x` in train phase, and `alt` otherwise.
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_user.py/primary_group--crossover with--dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/in_train_phase