I don't understand the need for this. Oh, and if we need this, we can just directly query the Boolean value: 

   if (draggable) {/* do something*/}