() ? true: false
great tips : please check this
In defense of the ternary statement
Ternary statements get a bad rap, but you can do some pretty cool things with them in JavaScript.
https://www.youtube.com/watch?v=sxeSQDyE55I

Seonglae Cho
Seonglae Cho() ? true: false
