_shouldRequestReview(reviewer) {
    return Object.entries(this.fileTreeMap)
      .map(([filename, subtree]) => subtree.fileOwners(filename))
      .some(fileOwners => {
        for (const owner of fileOwners) {
          if (owner.includes(reviewer)) {
            return owner.modifier !== OWNER_MODIFIER.SILENT;
          }
        }
      });
  }
/**
   * Checks if a reviewer should be requested.
   *
   * If there is any file for which the reviewer is a non-silent owner, this
   * should be true.
   *
   * @param {string} reviewer reviewer username.
   * @return {boolean} if the reviewer is a non-silent owner of a changed file.
   */
Checks if a reviewer should be requested.
If there is any file for which the reviewer is a non-silent owner, this
should be true.

@param {string} reviewer reviewer username.
@return {boolean} if the reviewer is a non-silent owner of a changed file.
Checks if a reviewer should be requested . If there is any file for which the reviewer is a non - silent owner this should be true . @param { string } reviewer reviewer username . @return { boolean } if the reviewer is a non - silent owner of a changed file .
_shouldRequestReview(reviewer) {
    return Object.entries(this.fileTreeMap)
      .map(([filename, subtree]) => subtree.fileOwners(filename))
      .some(fileOwners => {
        for (const owner of fileOwners) {
          if (owner.includes(reviewer)) {
            return owner.modifier !== OWNER_MODIFIER.SILENT;
          }
        }
      });
  }
_shouldRequestReview ( reviewer ) { return Object . entries ( this . fileTreeMap ) . map ( ( [ filename , subtree ] ) => subtree . fileOwners ( filename ) ) . some ( fileOwners => { for ( const owner of fileOwners ) { if ( owner . includes ( reviewer ) ) { return owner . modifier !== OWNER_MODIFIER . SILENT ; } } } ) ; }
Checks if a reviewer should be requested.
Checks if a reviewer should be requested .