Check main is an array