isForeignKey method

Returns true if index is the foreign key, false if index is not the foreign key.

Syntax
Boolean isForeignKey()
Remarks

Columns in a foreign key may reference a non-null unique index of another table.