code: def check_http_error_is_retryable(exc: BaseException):
      return (
          isinstance(exc, requests.exceptions.RequestException)
          and exc.response
          and exc.response.status_code
          and exc.response.status_code in HTTP_RETRY_STATUS_CODE
      )
  
imports: from __future__ import annotations
  import contextlib
  import json
  import warnings
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Dict, List, Sequence, cast
  import requests
  import weaviate.exceptions
  from tenacity import Retrying, retry, retry_if_exception, retry_if_exception_type, stop_after_attempt
  from weaviate import Client
  from weaviate.auth import AuthApiKey, AuthBearerToken, AuthClientCredentials, AuthClientPassword
  from weaviate.data.replication import ConsistencyLevel
  from weaviate.exceptions import ObjectAlreadyExistsException
  from weaviate.util import generate_uuid5
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 1 for calling a global function with example usage: check_http_error_is_retryable(exc) and returns: unknown