has (model, key) {
    if (model.hasAttribute(key) || model.hasRelationship(key)) {
      return true
    }

    return Reflect.has(model, key)
  }
/**
   * Proxies checking for attributes and relationships
   * @param model
   * @param key
   * @returns {boolean}
   */
Proxies checking for attributes and relationships
@param model
@param key
@returns {boolean}
Proxies checking for attributes and relationships @param model @param key @returns { boolean }
has (model, key) {
    if (model.hasAttribute(key) || model.hasRelationship(key)) {
      return true
    }
    return Reflect.has(model, key)
  }
has ( model , key ) { if ( model . hasAttribute ( key ) || model . hasRelationship ( key ) ) { return true } return Reflect . has ( model , key ) }
Proxies checking for attributes and relationships
 @param model
 @param key
 @returns {boolean}
Proxies checking for attributes and relationships @param model @param key @returns { boolean }