If I remember correctly these kinds of checks should be performed in the init method which you can override. Correct me if I'm wrong :)