@staticmethod
def _string_to_bool(input_string: str) ->bool:
    """
        Convert a string to a boolean while evaluating the strings contents.
            This function will convert the input string into a boolean value, while evaluating the contents of the
            string. Thus it will do the following checks:

            * If the `input_string` is 'False' or '0', it will return `False`.
            * Otherwise it will return bool(input_string), which can still return `False` if e.g. the string is empty.

        :param input_string: The string to evaluate.

        :returns: The boolean value of the string.
        """
    if input_string.lower() == 'false' or input_string == '0':
        return False
    else:
        return bool(input_string)
