def METHOD_NAME(
    data, source_col, target_col, source_attrs, target_attrs, edge_attrs
):
    """Check specified columns are in data."""
    missing_columns = {
        **_verify_column(data, "source_col", source_col),
        **_verify_column(data, "target_col", target_col),
    }
    for col in source_attrs or []:
        missing_columns.update(_verify_column(data, "source_attrs", col))
    for col in target_attrs or []:
        missing_columns.update(_verify_column(data, "target_attrs", col))
    for col in edge_attrs or []:
        missing_columns.update(_verify_column(data, "edge_attrs", col))
    if missing_columns:
        raise ValueError(
            "The following parameters had columns that are missing from the input data",
            ", ".join(f"{col} ({param})" for col, param in missing_columns.items()),
        )