@staticmethod
def _sanityCheckProtocolVersions(other):
    """Check if set protocol version are sane"""
    if other.minVersion > other.maxVersion:
        raise ValueError('Versions set incorrectly')
    if other.minVersion not in ((3, 0), (3, 1), (3, 2), (3, 3)):
        raise ValueError('minVersion set incorrectly')
    if other.maxVersion not in ((3, 0), (3, 1), (3, 2), (3, 3)):
        raise ValueError('maxVersion set incorrectly')
