public boolean isPresent(final UUID accountUuid, final byte deviceId) {
    return checkPresenceTimer.record(() ->
        presenceCluster.withCluster(connection ->
            connection.sync().exists(getPresenceKey(accountUuid, deviceId))) == 1);
  }
@Test
  void testIsPresent() {
    final UUID accountUuid = UUID.randomUUID();
    final byte deviceId = 1;

    assertFalse(clientPresenceManager.isPresent(accountUuid, deviceId));

    clientPresenceManager.setPresent(accountUuid, deviceId, NO_OP);
    assertTrue(clientPresenceManager.isPresent(accountUuid, deviceId));
  }