Boolproperty in addon preferences?

OK, I’ve never messed with addon preferences. I’ve gotten a checkbox to show up in addon preferences. I can’t figure out how to detect if it’s checked or not. How do I do that.