@classmethod
def is_decorated_with(this, fn, decorator):
    """Checks if a given function decorated with the given decorator
		
		Usage example:
		::
			from regd import DecoratorRegisrty
			
			# defining decorator function
			def my_decorator( fn) :
				def wrapper( *args, **kwargs) :
					print( "%s called" %fn.__name__)
					return fn( *args, **kwargs)
				return wrapper
			
			# registering decorator function with DecoratorRegistry
			my_decorator = DecoratorRegistry.decorator( my_decorator)
			
			# example class
			class MyClass :
				@my_decorator
				def my_method( self) :
					if (DecoratorRegistry.is_decorated_with( self.my_method, my_decorator)) :
						print( "my_method is decorated with my_decorator" %())
					else :
						print( "my_method is not decorated with my_decorator")
			
			inst = MyClass()
			inst.my_method()
		
		:param fn: function to check
		:param decorator: decorator function to check with
		:rtype: bool  
		"""
    return decorator in this.get_decorators(fn)
