Thank you for this!

Could this check be handled inside `serializer_from_block_or_class` so it doesn't need to be duplicated in each adapter?

Also a test case would be great.