[Zope] Detecting empty SQL call