class String

def colorized?


Return true if string is colorized
def colorized?
  self.scan(REGEXP_PATTERN).reject do |match|
    match.last
  end.any?
end