This seems like a round-about way to check if the example has no doc string (in fact, it's not clear to me if this will even work consistently).  You should be able to check `example.metadata[:description]` to see if it's blank.  Besides potentially being more reliable, it tells a much clearer story.