title: SQLAlchemy models attribute operations and DB access
body: <p>Let's say that I have SQLAlchemy ORM model instance <code>model</code> and name of it's attribute <code>attr_name</code>.</p>
  
  <p>Is there a way to determine whether <code>getattr(model, attr_name)</code> will or won't query the database? I mean that I need a function <code>getattr_does_emit_sql(model, attr_name)</code> returning <code>True</code> or <code>False</code>.</p>