make import return a boolean