original_string: private function hasOperatorInStack()
      {
          $hasOperatorInStack = false;
          if(!$this->operatorStack->isEmpty()) {
              $top = $this->operatorStack->top();
              if(Token::T_OPERATOR == $top->getType()) {
                  $hasOperatorInStack = true;
              }
          }
  
          return $hasOperatorInStack;
      }
code: private function hasOperatorInStack()
      {
          $hasOperatorInStack = false;
          if(!$this->operatorStack->isEmpty()) {
              $top = $this->operatorStack->top();
              if(Token::T_OPERATOR == $top->getType()) {
                  $hasOperatorInStack = true;
              }
          }
  
          return $hasOperatorInStack;
      }
code_tokens: private function hasOperatorInStack ( ) { $ hasOperatorInStack = false ; if ( ! $ this -> operatorStack -> isEmpty ( ) ) { $ top = $ this -> operatorStack -> top ( ) ; if ( Token :: T_OPERATOR == $ top -> getType ( ) ) { $ hasOperatorInStack = true ; } } return $ hasOperatorInStack ; }
docstring: Determine if there is operator token in operato stack
  
  @return boolean
docstring_tokens: Determine if there is operator token in operato stack