py: mp_builtin___import__(): Add const to arg type.
py: Factor out mp_obj_is_package() function.