




import inspect
import unittest







class 				lowerCAmelCase_       (					unittest.TestCase							):






				def 		snake_case	(			self ):
							try:
										import diffusers  # noqa: F401
							except ImportError:
										assert False






				def 		snake_case	(			self ):
							import diffusers
							from diffusers.dependency_versions_table import deps

							SCREAMING_SNAKE_CASE_   : List[str]					  =      inspect.getmembers(snake_case__      ,inspect.isclass )

							for cls_name, cls_module in all_classes:
										if "dummy_" in cls_module.__module__:
													for backend in cls_module._backends:
																if backend == "k_diffusion":
																			SCREAMING_SNAKE_CASE_   : int					  =      'k-diffusion'
																elif backend == "invisible_watermark":
																			SCREAMING_SNAKE_CASE_   : Union[str, Any]					  =      'invisible-watermark'
																assert backend in deps, F'{backend} is not in the deps table!'









def        __UpperCAmelCase						(							lowerCamelCase_ :     str  )       ->  bool:







			"""simple docstring"""





			SCREAMING_SNAKE_CASE_   : Any					  =      0
			for ch in input_str:
						SCREAMING_SNAKE_CASE_   : Union[str, Any]					  =      ord(lowerCamelCase_  )
						SCREAMING_SNAKE_CASE_   : Tuple					  =      pow(2  ,							lowerCamelCase_  )

						# If we already turned on bit for current character's unicode
						if bitmap >> ch_unicode & 1 == 1:
									return False
						bitmap |= ch_bit_index_on
			return True


if __name__ == "__main__":
						import doctest

						doctest.testmod()



