code to check if drivers licence is ready