code: public CmsProject getReferenceProject() {
  
          if (m_referenceProject == null) {
              if (m_request != null) {
                  m_referenceProject = m_request.getCurrentProject();
              }
          }
          return m_referenceProject;
      }
docs: Returns the project to use to check project state.<p>
  
  @return the project to use to check project state