isLocal

fun NodeId.isLocal(own: NodeId? = null): Boolean(source)

Returns true if this is NodeId.LOCAL or matches the supplied own ID. Useful for filtering packets originating from the host.