use:
return GetDrakTharonKeepAI<npc_drakkari_invaderAI>(creature);
and you can remove all instance checks