Check for existence of mutable var

Thanks for the reply @mbostock.

What I’m trying to do is have be able to run the function with a “fallback” in case it’s used without setting up the external mutable var cell… thus why I’m trying to check for its existence.

Is there any way you recommend I can achieve this?