whole_func_string: function isSafeMethod(method, safeMethods) {
      method = method.toUpperCase();
      return (safeMethods || SAFE_METHODS).some(function(safeMethod) {
          return method.toUpperCase() === safeMethod;
      });
  }
func_code_string: function isSafeMethod(method, safeMethods) {
      method = method.toUpperCase();
      return (safeMethods || SAFE_METHODS).some(function(safeMethod) {
          return method.toUpperCase() === safeMethod;
      });
  }
func_documentation_string: Is the given HTTP method (e.g., GET) non-destructive?
  
  @param {string} method HTTP method to test
  @param {string[]} [safeMethods] HTTP methods to consider as "safe"
  @return {boolean}