def _get_moto_version():
 try:
  return LooseVersion(moto.__version__)
 except AttributeError:
  try:
   return LooseVersion(pkg_resources.get_distribution('moto').version)
  except DistributionNotFound:
   return False

def _get_moto_version ( ) : try : return LooseVersion ( moto . __version__ ) except AttributeError : try : return LooseVersion ( pkg_resources . get_distribution ( 'moto' ) . version ) except DistributionNotFound : return False
returns the moto version .