What is this fancy type check for? Is truthiness not sufficient?