How would you implement a simple code to check to see if the integers in the array are already sorted or not?