From what I see I think it should be. However it's not documented as being thread safe so this could be pure accident and maybe change with each version. Also given the comments below by @spinscale I'm not too certain this should be kept global.