boolean (@NotNull Module module) { return JavaPsiFacade.getInstance(module.getProject()).findClass( GroovyCommonClassNames.GROOVY_OBJECT, module.getModuleWithDependenciesAndLibrariesScope(true) ) != null; }