def METHOD_NAME(cls, type, list, packet):
    msg = None
    if list.get(packet.target_name):
        if list[packet.target_name].get(packet.packet_name):
            msg = f"{type} Packet {packet.target_name} {packet.packet_name} redefined."
            Logger.warn(msg)
    return msg