original_string: public function is_locked() {
          if ($this->_locked) {
              return true;
          }
  
          if ($parent = $this->get_parent_context()) {
              return $parent->is_locked();
          }
  
          return false;
      }
code: public function is_locked() {
          if ($this->_locked) {
              return true;
          }
  
          if ($parent = $this->get_parent_context()) {
              return $parent->is_locked();
          }
  
          return false;
      }
code_tokens: public function is_locked ( ) { if ( $ this -> _locked ) { return true ; } if ( $ parent = $ this -> get_parent_context ( ) ) { return $ parent -> is_locked ( ) ; } return false ; }
docstring: Whether the current context is locked.
  
  @return  bool
docstring_tokens: Whether the current context is locked .