public function hasLabel($label)
    {
        $cypher = $this->conn->getSchemaGrammar()->compileLabelExists($label);

        return $this->getConnection()->select($cypher, [])->count() > 0;
    }
public function hasLabel($label)
    {
        $cypher = $this->conn->getSchemaGrammar()->compileLabelExists($label);

        return $this->getConnection()->select($cypher, [])->count() > 0;
    }
public function hasLabel ( $ label ) { $ cypher = $ this -> conn -> getSchemaGrammar ( ) -> compileLabelExists ( $ label ) ; return $ this -> getConnection ( ) -> select ( $ cypher , [ ] ) -> count ( ) > 0 ; }
Determine if the given label exists.

@param  string  $label
@return bool
Determine if the given label exists .