def parse_bool(arg):
    """parses boolean arguments | str --> bool"""
    if arg == 'True':
        return True
    if arg == 'False':
        return False
    raise ValueError('Correct format for boolean type is ' +
                     '"bool:True" or "bool:False"')