def print(self, *objects, sep=' ', end='\n', file=sys.stdout, flush=False):
    if self.allow_print.isSet():
        return builtins.print(*objects, sep=sep, end=end, file=file, flush=flush)
def print(self, *objects, sep=' ', end='\n', file=sys.stdout, flush=False):
    if self.allow_print.isSet():
        return builtins.print(*objects, sep=sep, end=end, file=file, flush=flush)