SHEmptyRecycleBin return integer (int) value
if successfully
empty Recycle Bin then
return 0
and if Recycle Bin already empty and you fire button click then return value like
-2147418113
so, you need to change code accordingly true false for check box checked/unchecked