






def 						_a    (      a :int )							->			bool:
 if not isinstance(a	,							a ):
  a		  =      F"""Input value of [number={number}] must be an integer"""
  raise TypeError(a )
 if number < 0:
  return False
 a		  =      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()



'''simple docstring'''




from typing import TYPE_CHECKING

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


_lowercase						: Dict						=						{"configuration_mmbt": ["MMBTConfig"]}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						_lowercase						: Dict						=						["MMBTForClassification", "MMBTModel", "ModalEmbeddings"]


if TYPE_CHECKING:
						from .configuration_mmbt import MMBTConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_mmbt import MMBTForClassification, MMBTModel, ModalEmbeddings

else:
						import sys

						_lowercase						: Optional[int]						=						_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)





