<cfscript> thing = new Thing(); if ( structKeyExists( thing, "setData" ) ) { thing.setData(); // <--- this line SHOULD error. } writeDump( thing ); </cfscript>