






import re



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			Optional[Any]    )						->      bool:





				"""simple docstring"""

				__A         =	re.compile(
				    R"""^(?:0|94|\+94|0{2}94)""" R"""7(0|1|2|4|5|6|7|8)""" R"""(-| |)""" R"""\d{7}$"""    )

				return bool(re.search(__lowercase			,				__lowercase    )    )


if __name__ == "__main__":
		__a      :       Dict				  =   "0094702343221"

		print(is_sri_lankan_phone_number(phone))












from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
  if not (is_transformers_available() and is_torch_available()):
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  from ...utils.dummy_torch_and_transformers_objects import (
      ImageTextPipelineOutput,
      UniDiffuserPipeline,
  )
else:
  from .modeling_text_decoder import UniDiffuserTextDecoder
  from .modeling_uvit import UniDiffuserModel, UTransformeraDModel
  from .pipeline_unidiffuser import ImageTextPipelineOutput, UniDiffuserPipeline




