This gem will help you check is some is AN Array, without being gramtically incorrect
Akshay Mankar
MIT