def METHOD_NAME(durations: Dict[str, float], is_csv) -> str:
    """
    Returns either a human-readable or CSV format profiling information,
    depending on `is_csv`.
    """
    return profiling_csv(durations) if is_csv else profiling_dump(durations)