(version)
return False
Returns True if using GnuPG version 2.x.

    :param tuple version: A tuple of three integers indication major, minor,
        and micro version numbers.
Returns True if using GnuPG version 2.x.
Returns True if using GnuPG version 2 . x .
def _is_gpg2(version):
    """Returns True if using GnuPG version 2.x.

    :param tuple version: A tuple of three integers indication major, minor,
        and micro version numbers.
    """
    (major, minor, micro) = _match_version_string(version)
    if major == 2:
        return True
    return False
def _is_gpg2 ( version ) : ( major , minor , micro ) = _match_version_string ( version ) if major == 2 : return True return False