docs: public boolean hasRole(CmsRequestContext context, CmsUser user, CmsRole role) {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          boolean result;
          try {
              result = hasRole(dbc, user, role);
          } finally {
              dbc.clear();
          }
          return result;
      }