The print statement should indeed be removed. It doesn't really give a value to the user and it's annoying to have something printed to stdout if this function is used by another library or as part of automated tests.