Active dimension attributes for a given item - need help

Good morning,

I am trying to import an Excel using DIXF in 2012 R3 CU12. In Excel, the lines may or may not have values for the item dimensions depending on the item type like Product master or Product, etc. For the Product type item, they may not have dimensions in the Excel. While importing the Excel data using DIXF I need to be able to verify if there are any active dimensions for the items in the spreadsheet. I am wondering is there any out of the box class and method that I can send Item as a parameter that returns a container with dimension values in it? So, I loop through the returned dimensions and see if the Excel lines have proper dimensions.

Thanks in advance.