code: def sub_tags(self, *tags, **kw):
          
          records = [x for x in self.sub_records if x.tag in tags]
          if kw.get('follow', True):
              records = [rec.ref if isinstance(rec, Pointer) else rec
                         for rec in records]
          return records
docs: Returns list of direct sub-records matching any tag name.
  
          Unlike :py:meth:`sub_tag` method this method does not support
          hierarchical paths and does not resolve pointers.
  
          :param str tags: Names of the sub-record tag
          :param kw: Keyword arguments, only recognized keyword is `follow`
              with the same meaning as in :py:meth:`sub_tag`.
          :return: List of `Records`, possibly empty.