I don't know what I did right there
replaced self.getName() with self.name for internal access, replaced double negation with nil compare