this seems to work for all cases

       if (x[1] == null) {
         return false
       } else if (x[0] == 'alternate' && x[1].type == 'IfStatement') {
         return false
       } else {
         return x[1].type != 'BlockStatement'
       }