    def _get_top_scopes(self, subscopes):
        """Returns a list of highest level scopes
        (not a subscope of any other scopes)"""
        top_scopes = []
        for scope in self.scopes.keys():
            if scope not in subscopes:
                top_scopes.append(scope)
        return top_scopes
Returns a list of highest level scopes
(not a subscope of any other scopes)
docs/source/rbac/generate-scope-table.py