Whether or not the browser has flash plugin enabled.
$ component install yields/hasflash
checks the navigator plugins, navigator mime types and
then tries to construct a new ActiveXObject
with ShockwaveFlash
.
if all above fail the function returns false
.
hasflash();
// > boolean
MIT