original_string: protected function js_module_loaded($module) {
          if (is_string($module)) {
              $modulename = $module;
          } else {
              $modulename = $module['name'];
          }
          return array_key_exists($modulename, $this->YUI_config->modules) ||
                 array_key_exists($modulename, $this->extramodules);
      }
code: protected function js_module_loaded($module) {
          if (is_string($module)) {
              $modulename = $module;
          } else {
              $modulename = $module['name'];
          }
          return array_key_exists($modulename, $this->YUI_config->modules) ||
                 array_key_exists($modulename, $this->extramodules);
      }
code_tokens: protected function js_module_loaded ( $ module ) { if ( is_string ( $ module ) ) { $ modulename = $ module ; } else { $ modulename = $ module [ 'name' ] ; } return array_key_exists ( $ modulename , $ this -> YUI_config -> modules ) || array_key_exists ( $ modulename , $ this -> extramodules ) ; }
docstring: Returns true if the module has already been loaded.
  
  @param string|array $module
  @return bool True if the module has already been loaded
docstring_tokens: Returns true if the module has already been loaded .