def print_output(self, outstr):
    if self.allow_print.isSet():
        framework.Framework.print_output(self, outstr)
def print_output(self, outstr):
    if self.allow_print.isSet():
        framework.Framework.print_output(self, outstr)