original_string: public function isLocked($name)
      {
          if (!$this->has($name)) {
              throw new ItemNotFoundException($name);
          }
  
          return isset($this->locked[$name]);
      }
code: public function isLocked($name)
      {
          if (!$this->has($name)) {
              throw new ItemNotFoundException($name);
          }
  
          return isset($this->locked[$name]);
      }
code_tokens: public function isLocked ( $ name ) { if ( ! $ this -> has ( $ name ) ) { throw new ItemNotFoundException ( $ name ) ; } return isset ( $ this -> locked [ $ name ] ) ; }
docstring: Returns true if the item is locked.
  
  @param string $name
  
  @return boolean
docstring_tokens: Returns true if the item is locked .