public function containsIndexedItem(string $itemType, int $itemUid) : bool
    {
        $queryBuilder = $this->getQueryBuilderForContainsMethods($itemType, $itemUid);
        return (bool)$queryBuilder
            ->andWhere($queryBuilder->expr()->gt('indexed', 0))
            ->execute()->fetchColumn(0);
    }
public function containsIndexedItem(string $itemType, int $itemUid) : bool
    {
        $queryBuilder = $this->getQueryBuilderForContainsMethods($itemType, $itemUid);
        return (bool)$queryBuilder
            ->andWhere($queryBuilder->expr()->gt('indexed', 0))
            ->execute()->fetchColumn(0);
    }
public function containsIndexedItem ( string $ itemType , int $ itemUid ) : bool { $ queryBuilder = $ this -> getQueryBuilderForContainsMethods ( $ itemType , $ itemUid ) ; return ( bool ) $ queryBuilder -> andWhere ( $ queryBuilder -> expr ( ) -> gt ( 'indexed' , 0 ) ) -> execute ( ) -> fetchColumn ( 0 ) ; }
Checks whether the Index Queue contains a specific item that has been
marked as indexed.

@param string $itemType The item's type, usually a table name.
@param int $itemUid The item's uid
@return bool TRUE if the item is found in the queue and marked as
indexed, FALSE otherwise
Checks whether the Index Queue contains a specific item that has been marked as indexed .