def is_called_from_code_rewriting_importer(frame): return any([is_frame_from_code_rewriting_importer(f) for f in whole_stack(frame)])
def is_called_from_code_rewriting_importer(frame): return any( [is_frame_from_code_rewriting_importer(f) for f in whole_stack(frame)])
def join(char, code_strings): return CodeString(char.join(code_strings), any([cs.uncomplete for cs in code_strings]), union(*[cs.imports for cs in code_strings]))
def raised_exception(self): return any([c.raised_exception() for c in self.calls])