Should this not be: `runtimeClass(expectedTpe).isInstance(arg)` ?