replacing jquery returnTrue and returnFalse functions with one line variables

It is possible to replace these clunky functions with one liners. The functions the variables return are anonymous.