code: public static boolean isFromTypeSummary(Node n) {
      checkArgument(n.isScript(), n);
      JSDocInfo info = n.getJSDocInfo();
      return info != null && info.isTypeSummary();
    }
docs: Determine if the given SCRIPT is a @typeSummary file, like an i.js file