listContainsPersona(persona, personaList) {
      if (!personaList || !personaList.length || personaList.length === 0)
         return false;

      if (!persona || !persona.text || persona.text.trim() === '')
         return false;

      return personaList.filter(item => item.text === persona.text).length > 0;
   }
/**
    * Determine whether a list contains the given Persona. 
    * @param {string} persona - A Persona params object
    * @param {Array} personaList - An array of Persona params objects
    * @returns {boolean} True if the list contains the given Persona, false if it doesn't. 
    */
Determine whether a list contains the given Persona.
@param {string} persona - A Persona params object
@param {Array} personaList - An array of Persona params objects
@returns {boolean} True if the list contains the given Persona, false if it doesn't.
Determine whether a list contains the given Persona . @param { string } persona - A Persona params object @param { Array } personaList - An array of Persona params objects @returns { boolean } True if the list contains the given Persona false if it doesn ' t .
listContainsPersona(persona, personaList) {
      if (!personaList || !personaList.length || personaList.length === 0)
         return false;
      if (!persona || !persona.text || persona.text.trim() === '')
         return false;
      return personaList.filter(item => item.text === persona.text).length > 0;
   }
listContainsPersona ( persona , personaList ) { if ( ! personaList || ! personaList . length || personaList . length === 0 ) return false ; if ( ! persona || ! persona . text || persona . text . trim ( ) === '' ) return false ; return personaList . filter ( item => item . text === persona . text ) . length > 0 ; }
Determine whether a list contains the given Persona.
Determine whether a list contains the given Persona .