Add functionality to evaluate for empty array