For me, that's similar to writing
if(var == true) {
}
It's more verbose than necessary, but not wrong. if(var == true) {
}
It's more verbose than necessary, but not wrong.