def boolType(v):
    """
    This function can be parsed into the type of an argparse add argument.
    It's a hack but needed to add boolean attributes in a more intuative way.

    :param v:
    :return: True/False
    :rtype: bool
    """
    return v.lower() in ["yes", "true", "t", "1"]