original_string: public function hasBodyPlaceholderEmpty()
      {
          if ($this->bodyKey !== null) {
              if (isset($this->stack[$this->bodyKey])) {
                  if ($this->stack[$this->bodyKey]->getType() === View::PART_BODY_PLACEHOLDER) {
                      return true;
                  }
              }
          }
          return false;
      }
code: public function hasBodyPlaceholderEmpty()
      {
          if ($this->bodyKey !== null) {
              if (isset($this->stack[$this->bodyKey])) {
                  if ($this->stack[$this->bodyKey]->getType() === View::PART_BODY_PLACEHOLDER) {
                      return true;
                  }
              }
          }
          return false;
      }
code_tokens: public function hasBodyPlaceholderEmpty ( ) { if ( $ this -> bodyKey !== null ) { if ( isset ( $ this -> stack [ $ this -> bodyKey ] ) ) { if ( $ this -> stack [ $ this -> bodyKey ] -> getType ( ) === View :: PART_BODY_PLACEHOLDER ) { return true ; } } } return false ; }
docstring: Check if we have a body placeholder still empty.
  
  @return bool
docstring_tokens: Check if we have a body placeholder still empty .