def METHOD_NAME(dicts: list[dict], keys: list[str]) -> list[dict]:
    """
    Filter a list of dicts on the specified keys. If no keys are given, the
    original list of dicts is returned.
    Parameters
    ----------
    dicts : list[dict]
        The list of dicts to filter.
    keys : list[str]
        A list of keys to keep in the dictionaries
    Returns
    -------
    list[dict]
        The filtered list of dicts.
    """
    if keys:
        return [filter_dict_keys(adict, keys) for adict in dicts]
    return dicts