# File lib/mongoid/attributes/processing.rb, line 47
      def pending_attribute?(key, value)
        name = key.to_s
        if relations.has_key?(name)
          pending_relations[name] = value
          return true
        end
        if nested_attributes.include?("#{name}=")
          pending_nested[name] = value
          return true
        end
        return false
      end