code: def hasannotation(self,Class,set=None):
          
          return self.count(Class,set,True,default_ignore_annotations)
docs: Returns an integer indicating whether such as annotation exists, and if so, how many. See ``annotations()`` for a description of the parameters.