FormBuilder discerning ActiveStorage and ActionText Attachments

I am writing a form_builder which will wrap input fields with a div that includes label, help, hint and error info as appropriate.

Given a field name (method) how do I tell if a field is an attachment or an actionText object?

photo.has_attribute?(:description) => false

photo.try(:description) accesses the db and returns

 id: 1,
 name: "description",

Is there a better way to find `:description`'s field type?