code: def get_collections(self, ignore=None):
          
          if ignore is None:
              return self.collections
          return [c for c in self.collections if
                  getattr(c, '_ignore', None) == ignore]
docs: Return the collections matching the given `_ignore` value
  
          Parameters
          ----------
          ignore : `bool`, or `None`
              value of `_ignore` to match
  
          Returns
          -------
          collections : `list`
              if `ignore=None`, simply returns all collections, otherwise
              returns those collections matching the `ignore` parameter