code: public static boolean isMethodCall(Expression expression, String methodName, int numArguments) {
          return expression instanceof MethodCallExpression
                  && isMethodNamed((MethodCallExpression) expression, methodName)
                  && getMethodArguments(expression).size() == numArguments;
      }
docs: Tells you if the expression is a method call for a certain method name with a certain
  number of arguments.
  @param expression
  the (potentially) method call
  @param methodName
  the name of the method expected
  @param numArguments
  number of expected arguments
  @return
  as described