






"""simple docstring"""







from typing import TYPE_CHECKING

from ....utils import _LazyModule


lowerCAmelCase_	:    Optional[int]            =      {'''tokenization_tapex''': ['''TapexTokenizer''']}


if TYPE_CHECKING:
 from .tokenization_tapex import TapexTokenizer


else:
 import sys

 lowerCAmelCase_	:    Tuple            =      _LazyModule(__name__, globals()['''__file__'''], _import_structure)








"""simple docstring"""







def       _lowerCAmelCase       (      lowerCAmelCase		):







       '''simple docstring'''
       if not isinstance(lowerCAmelCase	,      lowerCAmelCase		):
              UpperCAmelCase	    =			F'''Input value of [number={number}] must be an integer'''
              raise TypeError(lowerCAmelCase		)
       if number < 0:
              return False
       UpperCAmelCase	    =			number * number
       while number > 0:
              if number % 10 != number_square % 10:
                     return False
              number //= 10
              number_square //= 10
       return True


if __name__ == "__main__":
 import doctest

 doctest.testmod()
