UIButton press not working with an IF statement (XCODE/SWIFT) : I am currently trying to get an IF statement working only when the user presses on the UIButton which will then run the `self.eslTopics.isHidden = false` in order to show my UIPickerView, what is the correct syntax of writing the if statement? i currently have a button called "showwheel" which is meant to change the pickerview UI from hidden = true to False.

    if showWheel{
            self.eslTopics.isHidden = false
        }
XCode is trying to throw an error "**Optional type 'UIButton!' cannot be used as a boolean; test for '!= nil' instead, Replace 'showWheel' with '(showWheel != nil)'**" which also doesnt make sence or work?

Any ideas?