code: @SuppressWarnings("deprecation")
      private boolean isRedirectType(int typeId) {
  
          try {
              return typeId == OpenCms.getResourceManager().getResourceType(RECOURCE_TYPE_NAME_REDIRECT).getTypeId();
          } catch (Exception e) {
              return false;
          }
      }
docs: Returns if the given type id matches the xml-redirect resource type.<p>
  
  @param typeId the resource type id
  
  @return <code>true</code> if the given type id matches the xml-redirect resource type