docs: def is_legal_object(self, c: OntologyClass) -> bool:
          """
          is_legal_object(c) = true if
          - c in included_ranges(self) or
          - super_classes_closure(c) intersection included_ranges(self) is not empty
  
          Args:
              c:
  
          Returns:
  
          """
          ranges = self.included_ranges()
          return not ranges or c in ranges or c.super_classes_closure() & ranges