'If a Cursor should be returned with the fetched results.
Raises:
datastore_errors.BadArgumentError if value is not a bool.'

@datastore_rpc.ConfigOption
def produce_cursors(value):

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