public boolean hasChild ( Account account ) { for ( Account child : children ) { if ( child . equals ( account ) ) return true ; } return false ; }
Tests if an account is a direct child of this account .