isAllowed

fun isAllowed(command: String): Boolean

String form: whitespace-tokenizes command and delegates to the argv overload.


True if some entry's tokens equal the first N entries of argv (argv0 is the bin name). Always false for an empty allowlist.