docs: function is(obj, name) {
    if (typeof name !== 'string') {
      throw new TypeError('expected name to be a string');
    }
    utils.define(obj, 'is' + utils.pascal(name), true);
    utils.define(obj, '_name', name);
  }