private boolean checkIfNodeIdentityMatches(final byte[] serviceData) {
        final MeshNetwork network = mMeshManagerApi.getMeshNetwork();
        if (network != null) {
            for (ProvisionedMeshNode node : network.getNodes()) {
                if (mMeshManagerApi.nodeIdentityMatches(node, serviceData)) {
                    return true;
                }
            }
        }
        return false;
    }
Check if node identity matches

@param serviceData service data received from the advertising data
@return true if the node identity matches or false otherwise
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/ScannerRepository.java