code: def _is_gpg2(version):
      
      (major, minor, micro) = _match_version_string(version)
      if major == 2:
          return True
      return False
docs: Returns True if using GnuPG version 2.x.
  
      :param tuple version: A tuple of three integers indication major, minor,
          and micro version numbers.