private boolean filterAddressMatches(@NonNull final ProxyFilter filter, final int dst) {
        for (AddressArray addressArray : filter.getAddresses()) {
            final int address = MeshParserUtils.unsignedBytesToInt(addressArray.getAddress()[1], addressArray.getAddress()[0]);
            if (address == dst) {
                return true;
            }
        }
        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