'Whether to allow cross-group transactions.
Raises: datastore_errors.BadArgumentError if value is not a bool.'

@ConfigOption
def xg(value):

    if (not isinstance(value, bool)):
        raise datastore_errors.BadArgumentError(('xg    argument    should    be    bool    (%r)' % (value,)))
    return value
