Use tuple rather than or for isinstance check

Both are valid, but slightly cleaner to do it this way
Merge pull request #14 from jtratner/patch-1

Use tuple rather than or for isinstance check