from typing import Type


def _can_construct_from_str(strict_mode: bool, from_type: Type, to_type: Type) -> bool:
    """
    Returns true if the provided types are valid for constructor_with_str_arg conversion
    Explicitly declare that we are not able to convert primitive types (they already have their own converters)

    :param strict_mode:
    :param from_type:
    :param to_type:
    :return:
    """
    return to_type not in {int, float, bool}