def METHOD_NAME(self, lpmode):
    """
    Sets the lpmode (low power mode) of SFP
    """
    def qsfp_lpmode_set(client):
        return client.pltfm_mgr.pltfm_mgr_qsfp_lpmode_set(self.index, lpmode)
    status = thrift_try(qsfp_lpmode_set)
    return (status == 0)