function isInclude(filename, contents) {
  if (wfRegEx.RE_IS_INCLUDE.test(contents)) {
    return true;
  }
  if (wfRegEx.RE_IS_MD_INCLUDE.test(contents)) {
    return true;
  }

  // Do any of the directories or files start with an underscore
  return filename.split(path.sep).some((item) => {
    return item.startsWith('_');
  });
}
Checks if a file is an include file.

@param {string} filename The WebFundamentals file path.
@param {string} contents The contents of the file
@return {Boolean} True if it is, false if not.