original_string: public function isPendingForRemove(Document $document)
      {
          return isset($this->remove[get_class($document)][spl_object_hash($document)]);
      }
code: public function isPendingForRemove(Document $document)
      {
          return isset($this->remove[get_class($document)][spl_object_hash($document)]);
      }
code_tokens: public function isPendingForRemove ( Document $ document ) { return isset ( $ this -> remove [ get_class ( $ document ) ] [ spl_object_hash ( $ document ) ] ) ; }
docstring: Returns if a document is pending for remove.
  
  @param \Mandango\Document\Document A document.
  
  @return bool If the document is pending for remove.
  
  @api
docstring_tokens: Returns if a document is pending for remove .