refactoring: avoid the duplication of 'assertImportable' method, by placing it in a superclass