def validate_account_names(self, names):
for name in names:<EOL><INDENT>if self.get_account(name) is None:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>".format(name))<EOL><DEDENT><DEDENT>
Validates whether the accounts in a list of account names exists.

:param names: The names of the accounts.

:returns: The descendants of the account.