code: public static boolean isGsi2Proxy(GSIConstants.CertificateType certType) {
          return certType == GSIConstants.CertificateType.GSI_2_PROXY
                  || certType == GSIConstants.CertificateType.GSI_2_LIMITED_PROXY;
      }
docs: Determines if a specified certificate type indicates a GSI-2 proxy
  certificate.
  
  @param certType the certificate type to check.
  @return true if certType is a GSI-2 proxy, false otherwise.