}
// an account is visible if:
// - it has an expanded parent or is a top account
public boolean isVisible(List<LedgerAccount> list) {
for (LedgerAccount acc : list) {
if (acc.isParentOf(this)) {
}
// an account is visible if:
// - it has an expanded parent or is a top account
public boolean isVisible(List<LedgerAccount> list) {
for (LedgerAccount acc : list) {
if (acc.isParentOf(this)) {