public function isDocumentScheduled(object $document) : bool
    {
        $oid = spl_object_hash($document);
        return isset($this->documentInsertions[$oid]) ||
            isset($this->documentUpserts[$oid]) ||
            isset($this->documentUpdates[$oid]) ||
            isset($this->documentDeletions[$oid]);
    }
public function isDocumentScheduled(object $document) : bool
    {
        $oid = spl_object_hash($document);
        return isset($this->documentInsertions[$oid]) ||
            isset($this->documentUpserts[$oid]) ||
            isset($this->documentUpdates[$oid]) ||
            isset($this->documentDeletions[$oid]);
    }
public function isDocumentScheduled ( object $ document ) : bool { $ oid = spl_object_hash ( $ document ) ; return isset ( $ this -> documentInsertions [ $ oid ] ) || isset ( $ this -> documentUpserts [ $ oid ] ) || isset ( $ this -> documentUpdates [ $ oid ] ) || isset ( $ this -> documentDeletions [ $ oid ] ) ; }
Checks whether a document is scheduled for insertion, update or deletion.

@internal
Checks whether a document is scheduled for insertion update or deletion .