isglobal — check if a variable is global
t=isglobal(x)
isglobal(x) returns true if x has been declared to be a global variable and false otherwise.
isglobal(1) global a isglobal(a)