In your task code: when you call:
debug = lsstDebug.Info(__name__)
(with __name__
being the name of the current task), you are given a "debug object". By default that will return False
for any attribute you access. Thus, you can do:
>>> debug.foo
False