def links(self):
        container = IContainer(self.thing)
        if container.closed:
            for content in container.getContents():
                link = Link(self.thing.idea, content.idea)
                link.annotate([_ObstructedByGlass(),
                               ContainmentRelationship(container,
                                                       content)])
                yield link
.. todo::
dataset/ETHPy150Open twisted/imaginary/ExampleGame/examplegame/glass.py/GlassBox.links--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/preprocessing.py/CentralWindow.apply