check imports exist