Could we replace this with 
if self.breadcrumb contains 'Extensions' ?

Looks more simple and clearer.