@staticmethod
def get_bool_val(key, default):
    """
        the key may be exist in the config, with '' as value.
        In that case, return this function default as the value..
        """
    key_configured = isinstance(key, bool)
    return key if key_configured else default
