'Check if the instruction does nothing.
:param insn: The capstone insn object.
:return: True if the instruction does no-op, False otherwise.'

@staticmethod
def _is_noop_insn(insn):

    if (insn.insn_name() == 'nop'):
        return True
    if (insn.insn_name() == 'lea'):
        (op0, op1) = insn.operands
        if ((op0.type == 1) and (op1.type == 3)):
            if ((op0.reg == op1.mem.base) and (op1.mem.index == 0) and (op1.mem.disp == 0)):
                return True
    return False
