src/applications/mhv-landing-page/selectors/hasMhvAccount.js
/**
* Selects the hasMHVAccount state.
* @param {Object} state The current application state.
* @returns {boolean} The hasMHVAccount state.
*/
export const hasMhvAccount = state => {
return ['OK', 'MULTIPLE'].includes(state?.user?.profile?.mhvAccountState);
};