code: def get_object_closure(subject, object_category=None, **kwargs):
      
      results = search_associations(subject=subject,
                                    object_category=object_category,
                                    select_fields=[],
                                    facet_fields=[M.OBJECT_CLOSURE],
                                    facet_limit=-1,
                                    rows=0,
                                    **kwargs)
      return set(results['facet_counts'][M.OBJECT_CLOSURE].keys())
docs: Find all terms used to annotate subject plus ancestors