def _verify_model_outputs(outputs: Union[List, ndarray,FloatTensor]) -> bool:
    """checks the outpus conforms to the standard of a list of floats or ints

    Args:
        outputs (Union[List, ndarray,FloatTensor]): _description_

    Raises:
        TypeError: _description_

    Returns:
        bool: _description_
    """
    if not isinstance(outputs, list):
        return False

    if len(outputs) == 0:
        return True

    if isinstance(outputs[0], (ndarray, FloatTensor ,list)):
        return False

    if isinstance(outputs[0], (float, int)):
        return True

    raise TypeError(f"unknown output type of {type(outputs)} and {type(outputs[0])} expected list")
checks the outpus conforms to the standard of a list of floats or ints

    Args:
        outputs (Union[List, ndarray,FloatTensor]): _description_

    Raises:
        TypeError: _description_

    Returns:
        bool: _description_
    
src/marqo/s2_inference/reranking/model_utils.py