Can we check isinstance(arg.data, Mixed) and arg._flatten and raise an error if they're both true?