'Returns the details of view_menus for a perm name'

def get_view_menus(self, permission_name):

    vm = set()
    for (perm_name, vm_name) in self.get_all_permissions():
        if (perm_name == permission_name):
            vm.add(vm_name)
    return vm
