def is_equal(self, rhs):
    '\n        :return boolean: Returns True if the gadgets are an exact match, including offset. Used for gadget locality.\n        '
    return ((self.offset == rhs.offset) and (self.instruction_string == rhs.instruction_string))
:return boolean: Returns True if the gadgets are an exact match, including offset. Used for gadget locality.
def is_equal(self, rhs):
    '\n        \n        '
    return ((self.offset == rhs.offset) and (self.instruction_string == rhs.instruction_string))