Checks to see if a candidate is valid by asserting an arbitrary predicate
against the candidate. Where available entry will be provided
however there is no guarantee. The entry's attributes are only provided
if they were previously accessed. All assertions should handle cases
where the entry argument is null.
entry - the entry if available
true if the candidate satisfies the predicate, false otherwise