def comparison_requires_2_params(comparison: str) -> bool:
    """Check if the comparison requires 2 params.

    Args:
        comparison: The comparison to check.

    Returns:
        True if the comparison requires 2 params.
    """
    return comparison in [
        "exact",
        "iexact",
        "contains",
        "icontains",
        "gt",
        "gte",
        "lt",
        "lte",
        "startswith",
        "istartswith",
        "endswith",
        "iendswith",
        "regex",
        "iregex",
    ]