code: def _supports_avx():
      
      if os.path.exists("/proc/cpuinfo"):
          with open("/proc/cpuinfo") as in_handle:
              for line in in_handle:
                  if line.startswith("flags") and line.find("avx") > 0:
                      return True
docs: Check for support for Intel AVX acceleration.