def compile_attribute_values(values)
      if values.map(&:key).uniq.size == 1
        compile_attribute(values.first.key, values)
      else
        runtime_build(values)
      end
    end
def compile_attribute_values(values)
      if values.map(&:key).uniq.size == 1
        compile_attribute(values.first.key, values)
      else
        runtime_build(values)
      end
    end
Compiles attribute values with the similar key to Temple expression.

 @param values [Array<AttributeValue>] whose `key`s are partially or fully the same from left.
 @return [Array] Temple expression