class ActiveSupport::Multibyte::Chars

def self.consumes?(string)

+false+ otherwise.
Returns +true+ when the proxy class can handle the string. Returns
def self.consumes?(string)
  string.encoding == Encoding::UTF_8
end