def METHOD_NAME(strategy: SerializationStrategy) -> SerializationStrategy:
    if type(strategy) not in SELECTABLE_STRATEGIES:
        raise SerializationError(
            f"{strategy} is not a known serialization strategy "
            f"(must be one of {SELECTABLE_STRATEGIES})"
        )
    return strategy