then the above line can become 
``` ruby
ipn.length != 0 && (ipn =~ /(VERIFIED|INVALID)/) != 0
```