code: function containsPath(self, dirname) {
    return self.__paths__.some(function(p) {
      return p === dirname.substr(0, p.length);
    });
  }
docs: Returns true if `dirname` is a subdirectory of any of the `paths`