This risks NPE if `isAvailable` is null, when it's coerced to a `boolean`. Suggest you instead do `Boolean.TRUE.equals(isAvailable)`.