How do I check if an array is dimmed but empty?