Added the method canExecute() to IGameScript
Updated java doc.