@staticmethod
def _boolean_converter(value: str) ->bool:
    """
        Converts a string to a boolean
        :param value: string value
        :return: boolean
        """
    s = str(value).lower()
    if s in ['y', 'yes', 'true', 't', '1']:
        return True
    elif s in ['n', 'no', 'false', 'f', '0']:
        return False
    else:
        raise ValueError("Invalid value '{}'".format(value))
