docs: function contains(file, pattern, options) {
    options = _.sanitize(options, {encoding: 'utf-8'});
    if (!exists(file)) return false;
    const text = read(file, options);
    if (_.isRegExp(pattern)) {
      return !!text.match(pattern);
    } else {
      return (text.search(_escapeRegExp(pattern)) !== -1);
    }
  }