static bool top(List<String> stack, String symbol) { return true; //Objects.equals(stack.peek(), symbol); }