code: def get_annotations(self, annotation_type: type) -> Iterator[StateAnnotation]:
          
          return filter(lambda x: isinstance(x, annotation_type), self.annotations)
docs: Filters annotations for the queried annotation type. Designed
          particularly for modules with annotations:
          worldstate.get_annotations(MySpecificModuleAnnotation)
  
          :param annotation_type: The type to filter annotations for
          :return: filter of matching annotations