def dictHasExact(dict, keys):
    """ Verify if dict has exactly what expected """
    if len(dict) != len(keys):
        return False
    for i in keys:
        if dict.get(i) is None:
            return False
    return True