Check that scope is an array