public function isPendingForRemove(Document $document)
    {
        return isset($this->remove[get_class($document)][spl_object_hash($document)]);
    }
public function isPendingForRemove(Document $document)
    {
        return isset($this->remove[get_class($document)][spl_object_hash($document)]);
    }
public function isPendingForRemove ( Document $ document ) { return isset ( $ this -> remove [ get_class ( $ document ) ] [ spl_object_hash ( $ document ) ] ) ; }
Returns if a document is pending for remove.

@param \Mandango\Document\Document A document.

@return bool If the document is pending for remove.

@api
Returns if a document is pending for remove .