I'd just do a regular if-end rather than break this across multiple lines, also outer parens aren't necessary