jaberg/Theano — comment on commit 034edd70b2b5012d93dfc153926b8b92aa1cdd9f
File: theano/gof/vm.py line 283
By dwf:

I tend to prefer `if self.callback is not None` because something that overrides `__bool__` in unexpected ways could mess this up.