Python Check Object Attributes In Maya