def METHOD_NAME(self, instrument_code: str, are_you_sure: bool = False):
    self.log.label(instrument_code=instrument_code)
    if are_you_sure:
        if self.is_code_in_data(instrument_code):
            self._delete_instrument_data_without_any_warning_be_careful(
                instrument_code
            )
            self.log.info("Deleted instrument object %s" % instrument_code)
        else:
            # doesn't exist anyway
            self.log.warning("Tried to delete non existent instrument")
    else:
        self.log.error(
            "You need to call delete_instrument_data with a flag to be sure"
        )