I want to check for a Thread if Auto-Close feature was selected or not after the sale ends, how to do this stuff?