src/Managers/DocumentManager.php
/**
     * Check if Elasticsearch document exists for item.
     *
     * @param mixed $item
     * @return bool True when document exists, false otherwise.
     */
Check if Elasticsearch document exists for item.
@param mixed $item
@return bool True when document exists, false otherwise.
Check if Elasticsearch document exists for item . @param mixed $item @return bool True when document exists false otherwise .
public function exists($item): bool
    {
        return $this->manager->exists(
            $this->getIndexName($item),
            self::TYPE,
            $this->getId($item)
        );
    }
public function exists ( $ item ) : bool { return $ this -> manager -> exists ( $ this -> getIndexName ( $ item ) , self :: TYPE , $ this -> getId ( $ item ) ) ; }
Check if Elasticsearch document exists for item.
Check if Elasticsearch document exists for item .