misc modules: type(X) is Y ==> isinstance(X, Y)