def __is_valid_for_dict_to_object_conversion(strict_mode: bool, from_type: Type, to_type: Type) -> bool:
<EOL>logr = default_logger<EOL>if to_type is None or is_any_type(to_type):<EOL><INDENT>return True<EOL><DEDENT>elif is_collection(to_type, strict=True):<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>get_constructor_attributes_types(to_type)<EOL>return True<EOL><DEDENT>except TypeInformationRequiredError as main_e:<EOL><INDENT>if should_display_warnings_for(to_type):<EOL><INDENT>logr.warn('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(get_pretty_type_str(to_type), type(main_e).__name__, main_e))<EOL><DEDENT>return False<EOL><DEDENT><DEDENT>
Returns true if the provided types are valid for dict_to_object conversion

Explicitly declare that we are not able to parse collections nor able to create an object from a dictionary if the
object's constructor is non correctly PEP484-specified.

None should be treated as a Joker here (but we know that never from_type and to_type will be None at the same time)

:param strict_mode:
:param from_type:
:param to_type:
:return: