MySQL pillar: type(X) is Y ==> isinstance(X, Y)