Write a method that checks whether an arithmetic expression is valid. The expression is made up of three strings. The first and third string should be a valid integer. The second string should be an operator ("+", "-", "*", or "/"). There should be no exception when the expression is evaluated.

Complete the following file:

Arithmetic.java

public class Arithmetic { /** Checks whether an arithmetic expression is valid. @param value1 a string that should contain an integer @param operator a string that should contain an operator + - * or / @param value2 a string that should contain an integer @return true if all parameters are correct and the resulting expression can be evaluated without an exception */ public static boolean check(String value1, String operator, String value2) { ... } }