code: private static boolean isSingleOu(List<CmsProject> projects) {
  
          String ouFqn = null;
          for (CmsProject project : projects) {
              if (project.isOnlineProject()) {
                  // skip the online project
                  continue;
              }
              if (ouFqn == null) {
                  // set the first ou
                  ouFqn = project.getOuFqn();
              } else if (!ouFqn.equals(project.getOuFqn())) {
                  // break if one different ou is found
                  return false;
              }
          }
          return true;
      }
docs: Returns whether only a single OU is visible to the current user.<p>
  
  @param projects the selectable projects
  
  @return <code>true</code> if only a single OU is visible to the current user