Simplify a condition in is_KXK()

No functional change.
Merge branch 'master' into outpost