Deltagen Python

Hi,

Is there a way of getting the name of a material assigned to an object (shell etc), whether it be a 'look' or 'stellar' material?