Hmm I don't think we expose isAdmin and isModerator globally to the templates so that you can them everywhere. Maybe we should, everything in the config object is exposed so if you open your console and type config any variable you see under that object you can use in the templates. You can also take a look at the routes by prepending api to the url like https://community.nodebb.org/api/topic/1917/users-shouldn-t-be-able-to-purge-their-posts/10 you can use stuff from there in the template as well.
Thanks for all the help guys;
I was able to look through your plugin to get some insight on how to create a solution for my purposes - appreciate it!
P.S. - I need some rep so I don't have to wait 300 seconds to post haha! I just posted a potential composer bug in the tech support forum 30 seconds before I saw this 0.o