Use ternary if/else in spawn.__str__