Refactored ArrayUtils#getLast(..) to use the #isEmpty(array) method.