Function `onTouchBasedDevice` returns `null` or `true`?