Update README.md

add the code of finding out whether the rolling scan is enabled.