isAllowed

abstract fun <T : Any> isAllowed(type: KType, serializer: BinarySerializer<T>): Boolean

Checks whether the given serializer for type is allowed to be registered.