client/public/src/models/WorkModel.js
/**
   * @method hasNonInstitutionAuthors
   * @description query the work object sent in params and 
   * send it into getAuthors function determine if the authors
   * are or are not part of another university. 
   * 
   * @param {Object} work
   * 
   * @returns {Boolean}
   */
@method hasNonInstitutionAuthors
@description query the work object sent in params and
send it into getAuthors function determine if the authors
are or are not part of another university.

@param {Object} work

@returns {Boolean}
@method hasNonInstitutionAuthors @description query the work object sent in params and send it into getAuthors function determine if the authors are or are not part of another university . @param { Object } work @returns { Boolean }
hasNonInstitutionAuthors(work){
    let workAuthors = this.getAuthors(work);
    for( let type in workAuthors ) {
      let authors = workAuthors[type];
      for (let author of authors) {
        if (author._client.aggieExpertsAuthor === false) return true;
      }
    }
    return false;
  }
hasNonInstitutionAuthors ( work ) { let workAuthors = this . getAuthors ( work ) ; for ( let type in workAuthors ) { let authors = workAuthors [ type ] ; for ( let author of authors ) { if ( author . _client . aggieExpertsAuthor === false ) return true ; } } return false ; }
@method hasNonInstitutionAuthors
 @description query the work object sent in params and
 send it into getAuthors function determine if the authors
 are or are not part of another university.
@method hasNonInstitutionAuthors @description query the work object sent in params and send it into getAuthors function determine if the authors are or are not part of another university .