public static boolean hasPlausibleSourcePosition(ASTNode node) {
    return node.getLineNumber() > 0 && node.getLastLineNumber() >= node.getLineNumber()
        && node.getColumnNumber() > 0 && node.getLastColumnNumber() > node.getColumnNumber();
  }
Tells if the source position for the given AST node is plausible.
Does not imply that the source position is correct.

@param node an AST node
@return <tt>true</tt> iff the AST node has a plausible source position
spock-core/src/main/java/org/spockframework/compiler/AstUtil.java