How to determine Category posting permissions from plugin templates

The only exposed thing I’ve found so far is topic.category.permission which appears to either be 1 if you can post a New Topic, or null if you cannot.