def generalFunctions(self):
    self.addFunction('nvl', (lambda a, b: (a if ((a != None) and (a != '')) else b)))
    self.addFunction('isEmpty', (lambda a: ((a == None) or (a == ''))))
    self.addFunction('sleep', t.sleep)
def generalFunctions(self):
    self.addFunction('nvl', (lambda a, b: (a if ((a != None) and (a != )) else b)))
    self.addFunction('isEmpty', (lambda a: ((a == None) or (a == ))))
    self.addFunction('sleep', t.sleep)