make sure that function exists before calling it (important when java_gateway is already garbage collected. refs #106
make sure that function exists before calling it (important when java_gateway is already garbage collected. refs #106

jonahkichwacoders/py4j,jonahkichwacoders/py4j,jonahkichwacoders/py4j