isMisspelled

Returns true if result is a MisspelledWord. On the true branch result smart-casts to MisspelledWord, so its suggestions are accessible without a further is check.