JRuby

How to detect if a Ruby method has been defined using ScriptingContainer