function maybeSkipFile (path: NodePath, opts): boolean {
    if (path.node.leadingComments && path.node.leadingComments.length) {
      if (skipEnvironment(path.node.leadingComments, opts)) {
        return true;
      }
      return path.node.leadingComments.some(comment => PRAGMA_IGNORE_FILE.test(comment.value));
    }
    return false;
  }
Determine whether the file should be skipped, based on the comments attached to the given node.