protected function isRelatedQueueRecordMarkedAsIndexed($table, $record)
    {
        if ($table === 'tt_content') {
            $table = 'pages';
            $uid = $record['pid'];
        } else {
            $uid = $record['uid'];
        }

        return $this->getIndexQueue()->containsIndexedItem($table, $uid);
    }
protected function isRelatedQueueRecordMarkedAsIndexed($table, $record)
    {
        if ($table === 'tt_content') {
            $table = 'pages';
            $uid = $record['pid'];
        } else {
            $uid = $record['uid'];
        }

        return $this->getIndexQueue()->containsIndexedItem($table, $uid);
    }
protected function isRelatedQueueRecordMarkedAsIndexed ( $ table , $ record ) { if ( $ table === 'tt_content' ) { $ table = 'pages' ; $ uid = $ record [ 'pid' ] ; } else { $ uid = $ record [ 'uid' ] ; } return $ this -> getIndexQueue ( ) -> containsIndexedItem ( $ table , $ uid ) ; }
Checks if the related index queue item is indexed.

* For tt_content and pages_language_overlay the page from the pid is checked
* For all other records the table it's self is checked

@param string $table The table name.
@param array $record An array with record fields that may affect visibility.
@return bool True if the record is marked as being indexed
Checks if the related index queue item is indexed .