How to determine if a DBIx::Class::Row has a relationship already fetched?

Here's my situation: we have master tables with relationships to attribute tables. Sometimes, we fetch a row all by itself:my $row = $rs->search({ some_key => 'some_value' })->first;and sometimes we join one or more tables:my $row = $rs->search({ some_key => 'some_value' }, { join => 'attributes' });We have "helper" methods that look up specific attributes:sub get_x_attr { my $obj = shift; my $x_attr = $obj->attributes->search({ attribute_name => 'x' })->one_row; return $x_attr ? $x_attr->attribute_value : 'd...Read more