hasTransformation method

bool hasTransformation()

Implementation

bool hasTransformation() {
  var pattern =
      RegExp(r"([a-z]+\.[a-z]+\([^)]*\)(~[a-z]+\.[a-z]+\([^)]*\))*)");
  return pattern.hasMatch(this);
}