//You have given an array give a function which returns a boolean telling whether the numbers in the array are consecutive or not.