Optimized stream type support check.