private static boolean isDropletStarting(final Droplet droplet) { switch (droplet.getStatus()) { case NEW: return true; case ACTIVE: return false; default: throw new IllegalStateException("Droplet has unexpected status: " + droplet.getStatus()); } }