Us06 IF - My First code Review

Us06 IF - My First code Review
why the init file has a test inside?