Obviate the explicit loop: `if (metadata.getViaParentAccessions(parents).contains(null)){...}`