original_string: public function is_enabled() {
          list($componentname, $varname) = $this->get_config_var_name();
  
          $value = get_config($componentname, $varname . '_enabled');
  
          // Search areas are enabled by default.
          if ($value === false) {
              $value = 1;
          }
          return (bool)$value;
      }
code: public function is_enabled() {
          list($componentname, $varname) = $this->get_config_var_name();
  
          $value = get_config($componentname, $varname . '_enabled');
  
          // Search areas are enabled by default.
          if ($value === false) {
              $value = 1;
          }
          return (bool)$value;
      }
code_tokens: public function is_enabled ( ) { list ( $ componentname , $ varname ) = $ this -> get_config_var_name ( ) ; $ value = get_config ( $ componentname , $ varname . '_enabled' ) ; // Search areas are enabled by default. if ( $ value === false ) { $ value = 1 ; } return ( bool ) $ value ; }
docstring: Is the search component enabled by the system administrator?
  
  @return bool
docstring_tokens: Is the search component enabled by the system administrator?