def get_converter(self, x):
if not len(self): return None <EOL>converter = None<EOL>classx = getattr(x, '<STR_LIT>', None)<EOL>if classx is not None:<EOL><INDENT>converter = self.get(classx)<EOL><DEDENT>if converter is None and iterable(x):<EOL><INDENT>if isinstance(x, np.ndarray) and x.dtype != np.object:<EOL><INDENT>return None<EOL><DEDENT>for thisx in x:<EOL><INDENT>converter = self.get_converter( thisx )<EOL>return converter<EOL><DEDENT><DEDENT>return converter<EOL>
get the converter interface instance for x, or None