isUnder

fun isUnder(root: String, topic: String): Boolean(source)

Whether topic is root, a "/" and a non-empty remainder, with no wildcard. root is compared as typed.