def dispatch(self, packet):
        """
        dispatch: XBee data dict -> None

        When called, dispatch checks the given packet against each
        registered callback method and calls each callback whose filter
        function returns true.
        """
        for handler in self.handlers:
            if handler['filter'](packet):
                # Call the handler method with its associated
                # name and the packet which passed its filter check
                handler['callback'](handler['name'], packet)
dispatch: XBee data dict -> None

        When called, dispatch checks the given packet against each
        registered callback method and calls each callback whose filter
        function returns true.