External Issue: Add a user-facing test for distributed vs non-distributed arrays

19088, "jlbyrne-hpe", "Add a user-facing test for distributed vs non-distributed arrays ", "2022-01-24T20:25:39Z"

Working around #19087, I struggled to add an where-clause that could specialize the handling of non-distributed arrays. I ended up testing for DefaultDist, which seems to work, but it isn't intuitive and it isn't at all clear whether there are holes. More broadly, I think it might be useful for optimization.

@bradcray mentioned in an email that there is an internal interface --- "proc chpl__isDROrDRView() param : bool { ... }" --- but that a user-facing routine would be reasonable.