JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
JavaScript
function hasEffect(effect) {
return $.effects && $.effects[effect];
}
if(hasEffect('blind')) {
alert('found!');
} else {
alert('lost!, errr missing!');
}