def __check(self, decorated_function, *args, **kwargs):
		""" Check whether function is a bounded method or not. If check fails then exception is raised

		:param decorated_function: called function (original)
		:param args: args with which function is called
		:param kwargs: kwargs with which function is called
		:return: None
		"""
		# TODO replace this function with decorator which can be turned off like verify_* does
		if len(args) >= 1:
			obj = args[0]
			function_name = decorated_function.__name__
			if hasattr(obj, function_name) is True:
				fn = getattr(obj, function_name)
				if callable(fn) and fn.__self__ == obj:
					return

		raise RuntimeError('Only bounded methods are allowed')
Check whether function is a bounded method or not. If check fails then exception is raised

		:param decorated_function: called function (original)
		:param args: args with which function is called
		:param kwargs: kwargs with which function is called
		:return: None