def has_permissions(self):
perms = self.request('<STR_LIT>')['<STR_LIT:data>'][<NUM_LIT:0>].keys()<EOL>return all(k in perms for k in app.config[<EOL>'<STR_LIT>'].split('<STR_LIT:U+002C>'))<EOL>
Check current user permission set

        Checks the current user permission set against the one being requested
        by the application.