We used to have a custom version of the NodeInjectorFactory check that was supposed to be faster to the direct usage of the `instanceof` operator. This might have been the case in the past but the recent benchmark shows that using `instanceof` speeds up the `directive_instantiate` by ~10% (from time getting from ~340ms down to ~305ms). PR Close #33082