True if the spec’s origin refers to a loadable location, False otherwise. This value impacts how origin is interpreted and how the module’s __file__ is populated.
importlib.machinery/ModuleSpec.has_location
ModuleSpec.has_location