Element.set_is_instruction
- Element.set_is_instruction(value, instruction_id=None)[source]
Sets the is_instruction attribute on the Element
- Parameters:
- valuebool
If True, this Element will be flagged as an instruction element by setting the appropriate attribute. If False, the attribute will be removed.
- instruction_idstr
The ID of the instruction. This is required when setting is_instruction to True.