I have my own global.lua which I save off before updating GG then put it back afterwards.
Mind you I also have all my own versions of nearly all the scripts as I have re-written most of them.
But to answer your main question, yes if you add it to global.lua it can be called from any other script.
Been there, done that, got all the T-Shirts!