== already return boolean
== already return boolean

refactored code as `==` already returns bool no need to explicitly use ternary operator. Also remove extra variable as it not use more that one.
prasadsurase/code-curiosity,joshsoftware/code-curiosity,prasadsurase/code-curiosity,joshsoftware/code-curiosity,prasadsurase/code-curiosity,joshsoftware/code-curiosity