Dimensionality Check of Parts in ODB using python script.

I'm trying to create a plugin that brings up different dialog boxes depending on if the currently viewed ODB contains 3D or axisymmetric parts. I can't find a way to check a parts dimensionality within the ODB.

When a part is created it looks like it is given name, dimensionality, and type. I can get valid responses for both name and type, but when I check for dimensionality, I get the response "AttributeError: 'Part' object has no attribute 'dimensionality'"

Any help would be appreciated.

 - Daniel Levy