There are a few un-documented helper functions that plugin developers can use. They should appear in the documentation page: http://dev.piwik.org/trac/wiki/Plugins/GlobalFunctions
To build some plugins it would be useful to easily access a list of developer friendly flags:
* isAdmin * isSuperUser * isAnonymous * isView * ?
we'll update http://piwik.org/docs/plugins/functions/ at some point