public boolean isEqualityComparison() {
    return "==".equals(operation) && children.size() == 2;
  }
Examples where operation is null:
- GString method name: foo."$bar"()
- Argument list (has children but no operation)
spock-core/src/main/java/org/spockframework/runtime/model/ExpressionInfo.java