client/public/elements/pages/person/rp-page-person.js
/**
   * @method _showSubSection
   * @description Logic for displaying different parts within a section
   * Attached to various ?hidden properties
   *
   * @param {String} subsection - Identifier for a subsection.
   * @returns {Boolean}
   */
@method _showSubSection
@description Logic for displaying different parts within a section
Attached to various ?hidden properties

@param {String} subsection - Identifier for a subsection.
@returns {Boolean}
@method _showSubSection @description Logic for displaying different parts within a section Attached to various ?hidden properties @param { String } subsection - Identifier for a subsection . @returns { Boolean }
_showSubSection(subsection) {
    if (!subsection) return false;
    if (subsection == 'contact') {
      if (this.getEmailAddresses().length > 0) return true;
    } else if (subsection == 'websites') {
      if (this.getWebsites().length > 0) return true;
    }
    return false;
  }
_showSubSection ( subsection ) { if ( ! subsection ) return false ; if ( subsection == 'contact' ) { if ( this . getEmailAddresses ( ) . length > 0 ) return true ; } else if ( subsection == 'websites' ) { if ( this . getWebsites ( ) . length > 0 ) return true ; } return false ; }
@method _showSubSection
 @description Logic for displaying different parts within a section
 Attached to various ?hidden properties
@method _showSubSection @description Logic for displaying different parts within a section Attached to various ?hidden properties