Write a method called alltrue that takes an array of boolean and returns true if all the elements in the array are true. if the array is empty, the method produces true.