modify the Java code created by jfunct to print either true, or print actual return value for python to capture