index.js
function inHistory(file, layout, options) {
  return !options.disableHistory && file.layoutStack.indexOf(layout) !== -1;
}
function inHistory(file, layout, options) {
  return !options.disableHistory && file.layoutStack.indexOf(layout) !== -1;
}
function inHistory ( file , layout , options ) { return ! options . disableHistory && file . layoutStack . indexOf ( layout ) !== - 1 ; }
Returns true if `name` is in the layout `history`
Returns true if name is in the layout history