This is surely SAMEAS_WITHOUT_URIS_FILTER? perhaps a check of input.getUri().isEmpty() or some similar would be more accurate to the name.

Also, if you want the negation of a Predicate, you can do Predicates.not([some predicate]), which is handy.