code: protected OrganizationalEntity[] convert(List<String> orgEntities, boolean isUser) {
          return orgEntities.stream().map(isUser ? mapToUser : mapToGroup).toArray(size -> new OrganizationalEntity[size]);
      }
docs: /*
  Helper methods