code: def kernel(self):
          
          result = javabridge.static_call(
              "weka/classifiers/KernelHelper", "getKernel",
              "(Ljava/lang/Object;)Lweka/classifiers/functions/supportVector/Kernel;",
              self.jobject)
          if result is None:
              return None
          else:
              return Kernel(jobject=result)
docs: Returns the current kernel.
  
          :return: the kernel or None if none found
          :rtype: Kernel