def METHOD_NAME(
    cls, conn: Union[Connection[Any], AsyncConnection[Any], "PGconn"]
) -> bool:
    """
    Return `!True` if the server connected to `!conn` is CockroachDB.
    """
    if isinstance(conn, (Connection, AsyncConnection)):
        conn = conn.pgconn
    return bool(conn.parameter_status(b"crdb_version"))