Define Predicate interface in networkrts namespace because Java doesn't like us providing the java.util.function one.