it's a little weird, SetLoaded(true) but Loaded() still return false. you should consider whether the logic where calling SetLoaded(true) is correct, if it's wrong there, then fix there (e.g. not call SetLoaded(true)), rather than change this place into unsync result about SetLoaded() and Loaded().