def get_bool_from_dict(input_dict, key, truelist=None, raise_keyerror=False,
                       std_value=False):
    """Returns a boolean read from a string at an input dictionary.
    True if the string belongs to 'truelist', false otherwise.
    By default, truelist has "True" only.

    Parameters
    ----------
    input_dict : dict
        Input dictionary.
    key : any hashable
        Keyword for the boolean to be read.
    truelist : list
        List of strings that are considered as True value.
    raise_keyerror : bool
        Defines if a key error is raised if the required key is not
        found on input_dict. Default is False, meaning no key error.
        In this case, the function returns std_value.
    std_value : bool
        Value to return if the key is not found and raise_keyerror=False.
    """
    if truelist is None:
        truelist = ["True"]

    try:
        return input_dict[key] in truelist
    except KeyError:
        if raise_keyerror:
            raise KeyError("Hey, key '{}' was not found on input dict."
                           "".format(key))
        else:
            return std_value