This method caused lots of import cycles when type checking. Use isinstance() in the Operand constructor instead to decipher the OperandSpec union type.
- cdsl.operands has the Operand and OperandKind classes.