Write a method isSymmetric that takes an int[][] array and returns
true if and only if it is
symmetric.
You may assume that the passed array is non-null and has at least 1 row.
For this problem we're expecting only a method.Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.