refactor: call attribute controller function to determine if multiselect (instead of inline helper function with yucky SQL query)