add isRoot and summonRoot methods
Merge pull request #3 from mozilla/rootMethods

add isRoot and summonRoot methods