def is_protocol_beta(protocol): if Version(CASSANDRA_VERSION) >= Version('3.10') and protocol == 5: return True else: return False