Is there a function magit-magic
such that
(magit-magic "master") => t
(magit-magic "origin/master") => nil
assuming origin/master
is a fetched, but possibly unpulled branch on remote origin
? (Sorry, I don't know the proper git terminology -- which is probably why I'm having trouble finding an answer on my own.)