You can retrieve the attribute set data by id in Magento 2 to know about attribute details.
You can use Magento\Catalog\Api\AttributeSetRepositoryInterface to retrieve the attribute set info with get($attributeId) method. Continue reading “How to get attribute set details by id Magento 2?”