def METHOD_NAME(cls, ctrl_connection: Connection, device_identifier):
    ret = limesdr.open(device_identifier)
    if not device_identifier:
        ctrl_connection.send("OPEN:" + str(ret))
    else:
        ctrl_connection.send("OPEN ({}):{}".format(device_identifier, ret))
    limesdr.disable_all_channels()
    if ret != 0:
        return False
    ret = limesdr.init()
    ctrl_connection.send("INIT:" + str(ret))
    return ret == 0