public boolean isProfessionalRegistered() throws InvalidEmailFormatException {
   Professional professional =
       professionalService.registerNewProfessionalAccount(
           email, password, firstName, lastName, loadProfession());
   return professional == null;
 }
 public boolean isCompanyRegistered() throws InvalidEmailFormatException {
   Professional company =
       professionalService.registerNewCompanyAccount(email, password, reason, loadProfession());
   return company == null;
 }