# File lib/action_dispatch/routing/mapper.rb, line 1068
        def shallow?
          parent_resource.instance_of?(Resource) && @scope[:shallow]
        end