As long as it is a dead end at some point, it qualifies. It doesn’t have to be a dead end forever. Plus, people can go backwards from a dead end to the entrance of it to escape.