hasFormatting method

bool hasFormatting()

Checks if text contains any formatting syntax

Implementation

bool hasFormatting() {
  return this != normalizeText();
}