public static Func <T, bool> AsFunction <T>([NotNull] this Predicate <T> predicate)
 {
     return(predicate.As <Func <T, bool> >());
 }