



"""simple docstring"""







from ..utils import DummyObject, requires_backends







class 				UpperCamelCase__			(     metaclass=lowercase_  ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE      =					["""torch""", """torchsde"""]



      def __init__(				self    :				Dict   ,      *SCREAMING_SNAKE_CASE_    :				List[Any]   ,      **SCREAMING_SNAKE_CASE_    :				Optional[Any]	):
        requires_backends(self   ,      ['torch', 'torchsde']	)



      @classmethod
      def 					SCREAMING_SNAKE_CASE__			(				cls    :				Tuple   ,      *SCREAMING_SNAKE_CASE_    :				int   ,      **SCREAMING_SNAKE_CASE_    :				str	):
        requires_backends(cls   ,      ['torch', 'torchsde']	)





      @classmethod
      def 					SCREAMING_SNAKE_CASE__			(				cls    :				Union[str, Any]   ,      *SCREAMING_SNAKE_CASE_    :				List[Any]   ,      **SCREAMING_SNAKE_CASE_    :				int	):
        requires_backends(cls   ,      ['torch', 'torchsde']	)










"""simple docstring"""







import re

def     UpperCamelCase_   (   lowerCAmelCase__				:    str						)						->       bool:

  """simple docstring"""




  lowerCAmelCase_       :    str								=			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__":
     lowercase__		:    Optional[int]				   =     """0094702343221"""

     print(is_sri_lankan_phone_number(phone))





