Mmhhh. This is a specialized plugin manager and the fact we type hint for InputFilterPluginManager make sure that we indeed have a InputFilterInterface (so you don't have to make any check here). If you go this path, let's type hint to ServiceLocatorInterface then ;)...