def validate_serializer(serializer):
    from betamax.serializers import serializer_registry
    return serializer in list(serializer_registry.keys())
dataset/ETHPy150Open sigmavirus24/betamax/betamax/options.py/validate_serializer/original