code: def _des_dict_check(self, des_dict, req_keys, cond_name):
          
          assert isinstance(des_dict, dict), '{}' \
              ' must be a dictionary. Got {}.'.format(cond_name, type(des_dict))
          if bool(des_dict) is True:
              input_keys = list(des_dict.keys())
              for key in req_keys:
                  assert key in input_keys, 'Required key "{}" was not found in ' \
                      '{}'.format(key, cond_name)
docs: Check if an input design condition dictionary is acceptable.