The IDE is jam-packed with example code.
The snippet I quoted has ten characters in it.
That's too many.
It's a conditional, so you need an "if". That stays.
Then a space. That's optional; it can stay.
You need parentheses to contain the condition. They stay.
You need a condition inside the parentheses. That stays.
Which just leaves . . ? That goes.