def any_keys_not_none(d: dict, required: list):
    """
    Check although 1 element is not None but not all required
    :param d:
    :param required:
    :return:
    """
    passed = 0
    for r in required:
        v = d.get(r)
        if v is not None:
            passed += 1
    if len(required) == 1 and passed == len(required):
        return True
    return 0 < passed < len(required)
