protected boolean[] weightedInstancesHandler(){
  boolean[] result=new boolean[2];
  print("weighted instances kernel...");
  if (m_Kernel instanceof WeightedInstancesHandler) {
    println("yes");
    result[0]=true;
  }
 else {
    println("no");
    result[0]=false;
  }
  return result;
}

protected boolean [ ] weightedInstancesHandler ( ) { boolean [ ] result = new boolean [ 2 ] ; print ( "weighted instances kernel..." ) ; if ( m_Kernel instanceof WeightedInstancesHandler ) { println ( "yes" ) ; result [ 0 ] = true ; } else { println ( "no" ) ; result [ 0 ] = false ; } return result ; }
checks whether the scheme says it can handle instance weights .
