Declare and implement a function called arrayIsSorted that accepts a single array of int values and returns whether the array is sorted in ascending order. If the array is null, you should return false.
arrayIsSorted
int
null
false