returns a dictionary of connections set as active.

def active(self):
        """ returns a dictionary of connections set as active.
        """
        return {key: value for key, value in self.conns.items()
                if value.active}