Adds 'decorator_class?' method

Indicates whether a class can be decorated or not without resorting to a
rescue in application-level code.