lxc module: type(X) is Y ==> isinstance(X, Y)