def METHOD_NAME(string: str, dict: dict, return_value: bool = True) -> Any:
    """
    A function to find dictionary items whose key matches a substring.
    """
    return [
        value if return_value else key
        for key, value in dict.items()
        if string in key.lower()
    ][0]