SyntaxFix
Write A Post
Hire A Developer
Questions
Simplest way I can think of:
# checking whether foo is a boolean !!foo == foo