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