"""Runtime availability checks for optional soosef subpackages."""


def has_stegasoo() -> bool:
    """Check if soosef.stegasoo is importable (core deps are always present)."""
    try:
        import soosef.stegasoo  # noqa: F401

        return True
    except ImportError:
        return False


def has_verisoo() -> bool:
    """Check if soosef.verisoo is importable (requires [attest] extra)."""
    try:
        import soosef.verisoo  # noqa: F401

        return True
    except ImportError:
        return False
