export function accountAddDecision(accounts, maxAccounts) { return accounts.filter(account=>!account.historyOnly).length < maxAccounts ? "allowed" : "pro_required"; }
export function selectableAccount(account) { return Boolean(account) && account.entitlementLocked !== true; }
