Function isCompositeAccounts