# File lib/dm-core/query/conditions/comparison.rb, line 217
        def valid?
          # This needs to be deferred until the last moment because the value
          # could be a reference to a Resource, that when the comparison was
          # created was invalid, but has since been saved and has it's key
          # set.
          subject.valid?(loaded_value)
        end