isPrimaryKey method

Checks whether the index is the primary key.

 Syntax
 Returns