code: function(doc, name) {
        var area;
        if (!name) {
          area = doc.area;
        } else {
          area = doc[name];
        }
        return self.isEmpty({ area: area });
      }
docs: Returns true if the named area in the given `doc` is empty.  Alternate syntax: `{ area: doc.areaname, ... more options }`  An area is empty if it has no widgets in it, or when all of the widgets in it return true when their `isEmpty()` methods are interrogated. For instance, if an area only contains a rich text widget and that widget. A widget with no `isEmpty()` method is never empty.