code: def use_dependency_graph?(objects)
        objects.each do |id,object|
          object.foreign_objects.each do |property|
            if object[property].present?
              return false
            end
          end
        end
        true
      end
docs: If any objects have unresolved foreign objects, we cannot derive an
   evaluation order using a dependency graph.
  
   @param [Hash] objects a hash of scraped objects keyed by ID
   @return [Boolean] whether a dependency graph can be used to derive an
     evaluation order