def METHOD_NAME(
    self, instrument_code: str, contract_date: str, are_you_sure=False
):
    log = self.log.setup(
        instrument_code=instrument_code, contract_date=contract_date
    )
    if are_you_sure:
        if self.is_contract_in_data(instrument_code, contract_date):
            self._delete_contract_data_without_any_warning_be_careful(
                instrument_code, contract_date
            )
            log.info("Deleted contract %s/%s" % (instrument_code, contract_date))
        else:
            # doesn't exist anyway
            log.warning("Tried to delete non existent contract")
    else:
        log.error("You need to call delete_contract_data with a flag to be sure")