More modern way of detecting array.