docs: public static boolean isMethodCall(Expression expression, String methodName, Range numArguments) {
          if (expression instanceof MethodCallExpression && AstUtil.isMethodNamed((MethodCallExpression) expression, methodName)) {
              int arity = AstUtil.getMethodArguments(expression).size();
              if (arity >= (Integer)numArguments.getFrom() && arity <= (Integer)numArguments.getTo()) {
                  return true;
              }
          }
          return false;
      }