Mod only commands in Java Pircbot

The more I understand PBX and the code used… Wouldn’t it be more simple to just store a boolean every time a message is recieved whether or not the sender was a mod or not and have something like if(isMod == true … )? Is it just personal preference?