requiresSender

fun PaperLiteralNode.requiresSender(predicate: (CommandSender) -> Boolean)

Requires the sender to match a predicate.