When.java - ported some() functionality