You could simply do ```if(event)``` unless you desire different behavior for null/false/0, etc.