Check that variable is an array