Replacing jquery returnTrue and returnFalse functions with one line variables

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