def notwanted(zelf, notwant):
    """ whether an object is not desired. """
    for key, value in notwant.items():
        if key == 'format':
            continue
        if key not in zelf:
            continue
        if value in zelf[key]:
            return True
    return False
