Batch import input entity decorator

Second arg name should probably be different.
This method does not handle null arguments and can fail with array that contains null elements.
Maybe it should also use `contains(T[], T)` internally.