<% if AdminData::ActiveRecordUtil.new(klass).declared_has_many_association_names.any? %>

has_many : <%= has_many_data(model, klass).html_safe %>  

<% end %>