title: Kotlin: Compare property values of different target objects with(out) reflection
body: <p>I want to compare values between multiple instances of a data class so that I know which value changed:</p>
  
  <pre><code>data class A(val name : String)
  val firstA = A("hello")
  val secondA = A("you")
  
  if (secondA.name.changed(firstA)) {
     // Do something
  }
  </code></pre>
  
  <p>Can I somehow access the property function of <code>.name</code> and execute it on another target value (in this example on firstA) without explicitly defining it? 
  Can delegates help here or how do I solve this with and without reflection? </p>