def _des_dict_check(self, des_dict, req_keys, cond_name):
assert isinstance(des_dict, dict), '<STR_LIT:{}>''<STR_LIT>'.format(cond_name, type(des_dict))<EOL>if bool(des_dict) is True:<EOL><INDENT>input_keys = list(des_dict.keys())<EOL>for key in req_keys:<EOL><INDENT>assert key in input_keys, '<STR_LIT>''<STR_LIT:{}>'.format(key, cond_name)<EOL><DEDENT><DEDENT>
Check if an input design condition dictionary is acceptable.