code: def is_location_command(self, cmd):
          '''see if cmd is a MAV_CMD with a latitide/longitude.
          We check if it has Latitude and Longitude params in the right indexes'''
          mav_cmd = mavutil.mavlink.enums['MAV_CMD']
          if not cmd in mav_cmd:
              return False
          if not mav_cmd[cmd].param.get(5,'').startswith('Latitude'):
              return False
          if not mav_cmd[cmd].param.get(6,'').startswith('Longitude'):
              return False
          return Truf is_location_command(self, cmd):
          '''see if cmd is a MAV_CMD with a latitide/longitude.
          We check if it has Latitude and Longitude params in the right indexes'''
          mav_cmd = mavutil.mavlink.enums['MAV_CMD']
          if not cmd in mav_cmd:
              return False
          if not mav_cmd[cmd].param.get(5,'').startswith('Latitude'):
              return False
          if not mav_cmd[cmd].param.get(6,'').startswith('Longitude'):
              return False
          return True
docs: see if cmd is a MAV_CMD with a latitide/longitude.
          We check if it has Latitude and Longitude params in the right indexes