docs: public boolean doesSpecificationHasReferences(Specification specification) throws GreenPepperServerException {
          try {
              sessionService.startSession();
  
              boolean hasReferences = !documentDao.getAllReferences(specification).isEmpty();
  
              log.debug("Does Specification " + specification.getName() + "  Has References: " + hasReferences);
              return hasReferences;
          } catch (Exception ex) {
              throw handleException(ERROR, ex);
          } finally {
              sessionService.closeSession();
          }
      }