Check if the given renderer is a Renderer
renderer to test
object type used to format the error if needed
Check if the given renderer is a Renderer