public function isIndexed($label, $propertyKey, $conn = null)
    {
        $indexes = $this->listIndex($label, $conn)->getBody();
        if (in_array($propertyKey, $indexes)) {
            return true;
        }

        return false;
    }
public function isIndexed($label, $propertyKey, $conn = null)
    {
        $indexes = $this->listIndex($label, $conn)->getBody();
        if (in_array($propertyKey, $indexes)) {
            return true;
        }

        return false;
    }
public function isIndexed ( $ label , $ propertyKey , $ conn = null ) { $ indexes = $ this -> listIndex ( $ label , $ conn ) -> getBody ( ) ; if ( in_array ( $ propertyKey , $ indexes ) ) { return true ; } return false ; }
Checks if a property is indexed for a given label.

@param string      $label
@param string      $propertyKey
@param string|null $conn

@return bool
Checks if a property is indexed for a given label .