def packet_is_for_me(self, m):
        '''returns true if this packet is appropriately addressed'''
        if m.target_system != self.master.mav.srcSystem:
            return False
        if m.target_component != self.master.mav.srcComponent:
            return False
        # if have a sender we can also check the source address:
        if self.sender is not None:
            if (m.get_srcSystem(), m.get_srcComponent()) != self.sender:
                return False
        return True
returns true if this packet is appropriately addressed