test if exported object is map