public static IRubyObject autoload_p(ThreadContext context, final IRubyObject recv, IRubyObject symbol) {
Ruby runtime = context.getRuntime();
final RubyModule module = getModuleForAutoload(runtime, recv);
String name = module.getName() + "::" + symbol.asJavaString();
IAutoloadMethod autoloadMethod = runtime.getLoadService().autoloadFor(name);
if (autoloadMethod == null) return runtime.getNil();
return runtime.newString(autoloadMethod.file());
}