there is an `is` variable accessible for this importer which allows to check the type natively and in similar way everywhere (since in JS [TIMTOWTDI](http://en.wikipedia.org/wiki/There's_more_than_one_way_to_do_it)), so in this case it will be `is.str(src).`