Add .has_flag[flag_name] attributes to Server, dPlayer, dNPC.