Check if the given parameter is an array.