original_string: protected function isEnabledModule($module_id)
      {
          $sql = 'SELECT module_id FROM module WHERE module_id=? AND status > 0';
          $result = $this->db->fetchColumn($sql, array($module_id));
          return !empty($result);
      }
code: protected function isEnabledModule($module_id)
      {
          $sql = 'SELECT module_id FROM module WHERE module_id=? AND status > 0';
          $result = $this->db->fetchColumn($sql, array($module_id));
          return !empty($result);
      }
code_tokens: protected function isEnabledModule ( $ module_id ) { $ sql = 'SELECT module_id FROM module WHERE module_id=? AND status > 0' ; $ result = $ this -> db -> fetchColumn ( $ sql , array ( $ module_id ) ) ; return ! empty ( $ result ) ; }
docstring: Check if a module ID has enabled status in the database
  @param string $module_id
  @return bool
docstring_tokens: Check if a module ID has enabled status in the database