src/Repository/DynamoDb/NodeTable.php
final public function hasIndex(string $alias): bool
    {
        $this->loadIndexes();
        return isset($this->gsi[$alias]);
    }
final public function hasIndex(string $alias): bool
    {
        $this->loadIndexes();
        return isset($this->gsi[$alias]);
    }
final public function hasIndex ( string $ alias ) : bool { $ this -> loadIndexes ( ) ; return isset ( $ this -> gsi [ $ alias ] ) ; }
Returns true if this NodeTable has the given index.

@see GlobalSecondaryIndex::getAlias()

@param string $alias

@return bool
Returns true if this NodeTable has the given index .