### Question:
Cmp implements com.iabtcf.extras.cmp.Cmp { @Override public boolean isDeleted() { return Optional.ofNullable(this.deletedDate) .map(deleteDate -> !deleteDate.isAfter(Instant.now())) .orElse(false); }  @Override int getId(); @Override String getName(); @Override boolean isCommercial(); @Override Optional<Instant> getDeletedDate(); @Override boolean isDeleted();  }### Answer:
@Test public void isDeleted() { Assert.assertFalse(cmpThree.isDeleted()); Assert.assertTrue(cmpTwentyThree.isDeleted()); }