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}.')
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.
towhee/runtime/check_utils.py