public boolean hasUnicastAddress(final int unicastAddress) {
        if (unicastAddress == getUnicastAddress())
            return true;
        for (Element element : mElements.values()) {
            if (element.getElementAddress() == unicastAddress)
                return true;
        }
        return false;
    }
Check if an unicast address is the address of an element

@param unicastAddress the address to check
@return if this address is the address of an element
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ProvisionedMeshNode.java