Tear-off menus have the type “Menu Window”, and GetAttribute returns the name of the tear-off menu no matter what string you pass in.
si = Application for v in si.Desktop.ActiveLayout.Views: if v.Type == "Menu Window": print v.GetAttributeValue("!@#$@!#$!")