> Class Sample: > fullname = 'Something' > > How can I know that this class has an attribute called 'fullname'? with the builtin hasattr() function :) >>> class Sample: fullname='Something' ... >>> hasattr(Sample, 'fullname') True -tkc