Please don't add that check if you are using op_lifter.  The code here should only be about making a new op from the node.