def _check_searchable_fields_in_results(search_results: Dict, searchable_fields: List[str] = None) -> bool:
    """
    checks the searchable fileds are in the search result
    None for searchable fields is allowed and will return True

    Args:
        search_results (Dict): _description_
        searchable_fields (List[str], optional): _description_. Defaults to None.

    Returns:
        bool: _description_
    """

    if searchable_fields == None:
        return True
    return any([True for r in search_results[ResultsFields.hits] if any(s in r for s in searchable_fields)])

    checks the searchable fileds are in the search result
    None for searchable fields is allowed and will return True

    Args:
        search_results (Dict): _description_
        searchable_fields (List[str], optional): _description_. Defaults to None.

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