def METHOD_NAME(value_type, tmp_domjobinfo):
    """
    Check items
    :param value_type: value type, contain 'all_items', 'str_itmes' and 'int_items'
    :param tmp_domjobinfo: domain job info
    :retrun: new domain job info
    """
    if value_type in tmp_domjobinfo:
        if len(tmp_domjobinfo[value_type]) > 0:
            raise exceptions.TestFail("Missing item: %s from %s" %
                                      (tmp_domjobinfo[value_type], value_type))
        else:
            del tmp_domjobinfo[value_type]
    return tmp_domjobinfo