def get_bool_from_ini(ini_param):
    """
    Get boolean value from M$ INI style configuration.
    :param ini_param:
    :return: True, False, or None.
    """
    if not isinstance(ini_param, str):
        return None
    if ini_param.lower() in ['0', 'off', 'false']:
        return False
    elif ini_param.lower() in ['1', 'on', 'true']:
        return True
    else:
        return None