private boolean hasFinally(TryTree tree) {
   return tree.getFinallyBlock() != null;
 }