package Everything::Node::user; ... ############################################################################# # Sub # isGod # # Purpose # Checks to see if the given user is a god (in the gods group). # # Parameters # $recurse - for speed purposes, this assumes that the gods group # is flat (it does not contain any other nodegroups that it would # need to traverse). However, if the gods group does contain # nested groups, you can pass true here to check everything. # Note that turning this on is significantly slower. # # Returns # True if the given user is a "god". False otherwise. #