Check if association cached without hitting db?

Is there a way to tell if an association on an object is cached without
hitting the db?

For example, let's say I have order has_many line_items, is there a way
for me to tell if order.line_items is already populated?

I think you can do order.line_items.loaded?

Fred