boolean (@NotNull String testIdentifier) { try { return nastradamusClient.isClassInBucket(testIdentifier, (testClassName) -> matchesCurrentBucketViaHashing(testClassName)); } catch (Exception e) { // if fails, just fallback to consistent hashing return matchesCurrentBucketViaHashing(testIdentifier); } }