#NEWLINE# def hasObserver( self , observer , notification ) : #NEWLINE# #INDENT# '\n        Returns a boolean indicating is the **observer** is registered for **notification**.\n\n        This is a convenience method that does the same thing as::\n\n            dispatcher = anObject.dispatcher\n            dispatcher.hasObserver(observer=observer,\n                notification=notification, observable=anObject)\n        ' #NEWLINE# return self . dispatcher . hasObserver ( observer = notification , notification = notification , observable = self )