

"""simple docstring"""
import re




def 					a__						(						lowerCAmelCase    )	-> bool:
      UpperCAmelCase__			:							Any							=    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(lowerCAmelCase			,	lowerCAmelCase    )    )


if __name__ == "__main__":
    _A							=  "0094702343221"

    print(is_sri_lankan_phone_number(phone))







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available, is_torch_available


SCREAMING_SNAKE_CASE__     :     str		    =       {
    "configuration_altclip": [
        "ALTCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "AltCLIPConfig",
        "AltCLIPTextConfig",
        "AltCLIPVisionConfig",
    ],
    "processing_altclip": ["AltCLIPProcessor"],
}

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				SCREAMING_SNAKE_CASE__     :     Any		    =       [
				    "ALTCLIP_PRETRAINED_MODEL_ARCHIVE_LIST",
				    "AltCLIPPreTrainedModel",
				    "AltCLIPModel",
				    "AltCLIPTextModel",
				    "AltCLIPVisionModel",
				]


if TYPE_CHECKING:
				from .configuration_altclip import (
				    ALTCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
				    AltCLIPConfig,
				    AltCLIPTextConfig,
				    AltCLIPVisionConfig,
				)
				from .processing_altclip import AltCLIPProcessor

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_altclip import (
								    ALTCLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
								    AltCLIPModel,
								    AltCLIPPreTrainedModel,
								    AltCLIPTextModel,
								    AltCLIPVisionModel,
								)


else:
				import sys

				SCREAMING_SNAKE_CASE__     :     Tuple		    =       _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
