def check_length(inputs: Tuple, outputs: Tuple):
    """
    Check if the length of inputs and outputs is equal.

    Args:
        inputs (`Tuple`): The inputs schema.
        outputs (`Tuple`): The outputs schema.
    """
    if len(inputs) != len(outputs):
        raise ValueError('The node is is not valid, the length of inputs if not equal to outputs.')
Check if the length of inputs and outputs is equal.

Args:
inputs (`Tuple`): The inputs schema.
outputs (`Tuple`): The outputs schema.
towhee/runtime/check_utils.py