code: func IsCorruptedMnt(err error) bool {
  	if err == nil {
  		return false
  	}
  	var underlyingError error
  	switch pe := err.(type) {
  	case nil:
  		return false
  	case *os.PathError:
  		underlyingError = pe.Err
  	case *os.LinkError:
  		underlyingError = pe.Err
  	case *os.SyscallError:
  		underlyingError = pe.Err
  	}
  
  	return underlyingError == syscall.ENOTCONN || underlyingError == syscall.ESTALE || underlyingError == syscall.EIO || underlyingError == syscall.EACCES
  }
docs: // IsCorruptedMnt return true if err is about corrupted mount point