code: def check_set(inputs: Tuple, all_inputs: Set[str]):
      """
      Check if the inputs in all_inputs.
  
      Args:
          inputs (`Tuple[str]`): The inputs schema.
          all_inputs (`Set[str]`): The all inputs schema in the DAG util the node.
      """
      inputs = SetForm(data=inputs).data
      if not inputs.issubset(all_inputs):
          raise ValueError(
              f"The DAG Nodes inputs {str(inputs)} is not valid, which is not declared: {inputs - all_inputs}."
          )
  
file_path: towhee/towhee/runtime/check_utils.py
imports: from typing import Dict, Any, Set, Tuple, Optional
  import re
  from pydantic import BaseModel, validator
  from towhee.runtime.constants import WindowConst, FilterConst, TimeWindowConst
label_desc: Use image node_id 1 for calling a global function with example usage: check_set(inputs, all_inputs) without return types