Java tutorial
//package com.java2s; public class Main { private static boolean isWrapped(String s) { return s.startsWith("(") && s.endsWith(")"); } }