test if something is an es6 module