check_screenlog function

Check if a screenlog is valid.