List<Person> persons = Party.readAllPersons();
    private void checkConditionsToCreateNewPerson(final String username, final String documentIDNumber,            final IDDocumentType documentType, Person thisPerson) {        List<Person> persons = Party.readAllPersons();        if ((documentIDNumber != null && documentType != null && checkIfDocumentNumberIdAndDocumentIdTypeExists(                documentIDNumber, documentType, persons, thisPerson))                || (username != null && checkIfUsernameExists(username, persons, thisPerson))) {            throw new DomainException("error.person.existent.username.or.docIdAndType");        }    }