# File lib/puppet/type/zpool.rb, line 18
18:       def insync?(is)
19:         return @should == [:absent] if is == :absent
20: 
21:         return false unless is.length == @should.length
22: 
23:         is.each_with_index { |list, i| return false unless flatten_and_sort(list) == flatten_and_sort(@should[i]) }
24: 
25:         #if we made it this far we are in sync
26:         true
27:       end