code: protected boolean isProjectManager(CmsObject userCms) throws CmsException {
  
          CmsGroup managerGroup = m_adminCms.readGroup(getWorkflowProjectManagerGroup());
          List<CmsGroup> groups = m_adminCms.getGroupsOfUser(
              userCms.getRequestContext().getCurrentUser().getName(),
              false);
          return groups.contains(managerGroup);
      }
docs: Checks whether the user for a given CMS context can manage workflow projects.<p>
  
  @param userCms the user CMS Context
  @return true if this user can manage workflow projects
  
  @throws CmsException if something goes wrong