def addSpecificResponder(self, lvl, resp):
    # range check input.
    if (lvl != 0) or (lvl >= self.nolevels):
      raise Exception

    # check that resp is either MsgId or ReqId specific.
    if (not resp.isReqIdSpecific()) and (not resp.isMsgIdSpecific()):
      raise Exception

    self.resp_idx[lvl].append(resp)

  # send msg.
dataset/ETHPy150Open drbob/pyrs/pyrs/responder.py/RsResponderGroup.addSpecificResponder/operator `<` -> `!=`