Implement the small Python function below from its docstring. Public source: omnibase_core/src/omnibase_core/normalization/contract_normalizer.py:217. Keep the exact public signature and specified behavior. Return ONLY one complete Python module, no explanation or Markdown. Include its support definitions/imports. Do not write tests.

from __future__ import annotations

def is_omnimarket_v0(raw: dict[str, object]) -> bool:
    """Return True iff ``raw`` carries the omnimarket v0 contract shape.

    The v0 shape is identified by a top-level ``handler`` dict that
    declares a ``class`` field. This is the legacy shape used by the
    82-file omnimarket cohort prior to the canonical contract layout.
    """
    raise NotImplementedError
