@SuppressWarnings("BooleanMethodIsAlwaysInverted")
    private boolean isReceivedViaProxyFilter(@NonNull final Message message) {
        final ProxyFilter filter = mInternalTransportCallbacks.getProxyFilter();
        if (filter != null && !filter.getAddresses().isEmpty()) {
            if (filter.getFilterType().getType() == ProxyFilterType.INCLUSION_LIST_FILTER) {
                return filterAddressMatches(filter, message.getDst());
            } else {
                return !filterAddressMatches(filter, message.getDst());
            }
        }
        return false;
    }
Checks and returns a new filter or the existing filter

@param currentFilter Proxy filter that is currently set on this node
@param filterType    Type of {@link ProxyFilterType} that was received by the status message
mesh/src/main/java/no/nordicsemi/android/mesh/transport/DefaultNoOperationMessageState.java