Check for Traversable interface using Reflection instead of regex.