class_docstr: dbt Cloud Job statuses.
class_docstr_tok: ["dbt","Cloud","Job","statuses","."]
docstr: Validate input statuses are a known value.
docstr_tok: ["Validate","input","statuses","are","a","known","value","."]
code: def check_is_valid(cls, statuses: int | Sequence[int] | set[int]):
      """Validate input statuses are a known value."""
      if isinstance(statuses, (Sequence, Set)):
          for status in statuses:
              cls(status)
      else:
          cls(statuses)
  
imports: from __future__ import annotations
  import asyncio
  import json
  import time
  from enum import Enum
  from functools import cached_property, wraps
  from inspect import signature
  from typing import TYPE_CHECKING, Any, Callable, Sequence, Set, TypeVar, cast
  import aiohttp
  from aiohttp import ClientResponseError
  from asgiref.sync import sync_to_async
  from requests.auth import AuthBase
  from requests.sessions import Session
  from airflow.exceptions import AirflowException
  from airflow.providers.http.hooks.http import HttpHook
  from airflow.typing_compat import TypedDict
label_desc: Use image node_id 1 for calling the DbtCloudJobRunStatus obj's underlying member method code with example usage: obj.check_is_valid(cls, statuses) without return types