'Filters a list of hierarchy tokens and yields only the one that we
need to provide'

def _hierarchy_to_be_provided(self):

    for item in self._hierarchy_token_combinations():
        if any(((x in self.provides) for x in item)):
            (yield item)
