Check if array is set