@staticmethod<EOL><INDENT>def are_worth_chaining(first_converter: Converter, second_converter: Converter) -> bool:<DEDENT>
if isinstance(first_converter, ConversionChain):<EOL><INDENT>if isinstance(second_converter, ConversionChain):<EOL><INDENT>for sec_conv in second_converter._converters_list:<EOL><INDENT>for fir_conv in first_converter._converters_list:<EOL><INDENT>if not Converter.are_worth_chaining(fir_conv, sec_conv):<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>for fir_conv in first_converter._converters_list:<EOL><INDENT>if not Converter.are_worth_chaining(fir_conv, second_converter):<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>if isinstance(second_converter, ConversionChain):<EOL><INDENT>for sec_conv in second_converter._converters_list:<EOL><INDENT>if not Converter.are_worth_chaining(first_converter, sec_conv):<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>if not Converter.are_worth_chaining(first_converter, second_converter):<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT>return True<EOL>
This is a generalization of Converter.are_worth_chaining(), to support ConversionChains.

:param first_converter:
:param second_converter:
:return: