Returns a list of all the connection instances that are in this scene.
                    
        :return     <list>  [ <XNodeConnection>, .. ]

def connections(self, hotspot=None):
        """
        Returns a list of all the connection instances that are in this scene.
                    
        :return     <list>  [ <XNodeConnection>, .. ]
        """
        cons = self.findItems(XNodeConnection)
        if hotspot is not None:
            filt = lambda x: hotspot in (x.inputHotspot(), x.outputHotspot())
            return filter(filt, cons)
        return cons