def main_is_frozen(): return (hasattr(sys, "frozen") or hasattr(sys, "importers") or imp.is_frozen("__main__"))