Add #has_related? predicate method