def __check_dict_contains(dct, dict_name, keys, comment='', result=True):
    for key in keys:
        if key not in six.iterkeys(dct):
            result = False
            comment = __append_comment("Missing {0} in {1}".format(key, dict_name), comment)
    return result, comment
dataset/ETHPy150Open saltstack/salt/salt/states/jboss7.py/__check_dict_contains/original