GenIndex.isSome

bool isSome()

Returns true if the index is valid.