code: public boolean doesRequirementHasReferences(Requirement requirement) throws GreenPepperServerException {
          try {
              sessionService.startSession();
              boolean hasReferences = !documentDao.getAllReferences(requirement).isEmpty();
  
              log.debug("Does Requirement " + requirement.getName() + " Document Has References: " + hasReferences);
              return hasReferences;
          } catch (Exception ex) {
              throw handleException(ERROR, ex);
          } finally {
              sessionService.closeSession();
          }
      }
docs: {@inheritDoc}