if(typeof propertyValue!='undefined' && propertyValue){ //execute code here }
if(typeof namedProperty!='undefined' && namedProperty){ return this.namedProperty; }