code: func (s *SupportImpl) IsJavaCC(buf []byte) (bool, error) {
  	//the inner dep spec will contain the type
  	ccpack, err := ccprovider.GetCCPackage(buf)
  	if err != nil {
  		return false, err
  	}
  	cds := ccpack.GetDepSpec()
  	return (cds.ChaincodeSpec.Type == pb.ChaincodeSpec_JAVA), nil
  }
docs: // IsJavaCC returns true if the CDS package bytes describe a chaincode
  // that requires the java runtime environment to execute