refactor(dynamic_injector): use Symbol check rather than String compare