Retrieve the annotate function from a class namespace dictionary. Return None if the namespace does not contain an annotate function. This is useful in metaclass ``__new__`` methods to retrieve the annotate function.
annotationlib/get_annotate_from_class_namespace
get_annotate_from_class_namespace