feat(injector): add has method for querying

Closes #2556