def METHOD_NAME(self, check_id):
    index = self._checkid2index[check_id]
    if self._remove_check_callback is not None:
        if not self._remove_check_callback(self, check_id):
            # rejected, skip!
            return False
    del self._checks[index]
    # Fixing the index, maybe an ordered dict would work here the same
    # but simpler. Could also rebuild the entire index.
    del self._checkid2index[check_id]
    for cid, idx in self._checkid2index.items():
        if idx > index:
            self._checkid2index[cid] = idx - 1
    return True