More generic iterable checking.
Add helper function while there's no new release of salt-testing.
Tell Pylint to ignore these imports.
Import from the right module.
Simplify the code
Ignore it PyLint!!!
Merge pull request #9699 from s0undt3ch/develop

More generic iterable checking.