We already have an open Augeas object here, so `is_array?` should optionally take it and reuse this to avoid opening a second object.  It still needs to be able to if aug is nil though, as it's called from the type.