public static boolean isReturn(GrStatement statement, String value) {
    if (statement == null) {
      return false;
    }
    if (!(statement instanceof GrReturnStatement returnStatement)) {
      return false;
    }
    final GrExpression returnValue = returnStatement.getReturnValue();
    if (returnValue == null) {
      return false;
    }
    final String returnValueText = returnValue.getText();
    return value.equals(returnValueText);
  }
public static boolean isReturn(GrStatement statement, String value)