How to extract input id of a checkbox in selenium using Python?

I am trying to extract if one checkbox is checked or not using below code:

element = driver.find_element_by_xpath("//*[@id='checkbox-410']")
print (element.is_selected())

The problem i am facing is the id for that checkbox is updating every time as i need to do this multiple times. Below is html code where it was at once 339 and next it becomes some different number

<input id="checkbox-339" type="checkbox" label="Stoploss" class="su-checkbox" value="true">

Is it possible if i can check whether checkbox is checked or not using div, I mean there is only one checkbox in that div:

//*[@id="app"]/form/section/div[3]/div/div[2]/div[1]

Or if any other way to do this, please suggest?

Answer

Instead of

element = driver.find_element_by_xpath("//*[@label='checkbox-410']")

Try using

element = driver.find_element_by_xpath("//input[@id='Stoploss")