code: def zipsafe(dist):
      
      # zip-safety is only an attribute of eggs.  wheels are considered never
      # zip safe per implications of PEP 427.
      if hasattr(dist, 'egg_info') and dist.egg_info.endswith('EGG-INFO'):
        egg_metadata = dist.metadata_listdir('')
        return 'zip-safe' in egg_metadata and 'native_libs.txt' not in egg_metadata
      else:
        return False
docs: Returns whether or not we determine a distribution is zip-safe.