The array to validate
Name of the field for error messages
The validated array
Validate array is not empty
If the array is empty
The array to validate