Implements arrayCheck()