Returns true if the two input stack trace interfaces have the same content
function isSameStacktrace(stack1, stack2) {
	  if (isOnlyOneTruthy(stack1, stack2)) return false;
	  var frames1 = stack1.frames;
	  var frames2 = stack2.frames; // Exit early if stacktrace is malformed

	  if (frames1 === undefined || frames2 === undefined) return false; // Exit early if frame count differs

	  if (frames1.length !== frames2.length) return false; // Iterate through every frame; bail out if anything differs

	  var a, b;

	  for (var i = 0; i < frames1.length; i++) {
	    a = frames1[i];
	    b = frames2[i];
	    if (a.filename !== b.filename || a.lineno !== b.lineno || a.colno !== b.colno || a['function'] !== b['function']) return false;
	  }

	  return true;
	}