I have a function that is utilising a global variable, of which I am unsure where it is being set, that is the basis of a conditional. For example:
function m