How about `typeof WYMeditor.SKINS[this._options.skin].init === 'function'`