static bool hasPersian(String input, [bool isComplex = false]) { var faRegExp = isComplex ? faComplexText : faText; return RegExp('[$faRegExp]').hasMatch(input); }