Try this: if object.isFolderish(): return "object is a folderish thang" If it doesn't work, I'm sure I saw a method with a name kindof like that, somewhere, once... urm... Chris