original_string: public function checkTryToSaveConfig()
      {
          $uri = Request::getInstance()->getRequestUri();
          $method = Request::getInstance()->getMethod();
          return (preg_match('/^\/admin\/(config|setup)$/', $uri) !== false && strtoupper($method) === 'POST');
      }
code: public function checkTryToSaveConfig()
      {
          $uri = Request::getInstance()->getRequestUri();
          $method = Request::getInstance()->getMethod();
          return (preg_match('/^\/admin\/(config|setup)$/', $uri) !== false && strtoupper($method) === 'POST');
      }
code_tokens: public function checkTryToSaveConfig ( ) { $ uri = Request :: getInstance ( ) -> getRequestUri ( ) ; $ method = Request :: getInstance ( ) -> getMethod ( ) ; return ( preg_match ( '/^\/admin\/(config|setup)$/' , $ uri ) !== false && strtoupper ( $ method ) === 'POST' ) ; }
docstring: Method that check if the user is trying to save the config
  @return bool
docstring_tokens: Method that check if the user is trying to save the config