def help_flag_present(argv: list[str], flag_name: str = 'help') -> bool:
    """
    Checks if a help flag is present in argv.

    :param argv: sys.argv
    :param flag_name: the name, which will be prefixed with '-', that is a help flag. The default value is 'help'
    :return: if the help flag is present
    """
    return any([arg == f'-{flag_name}' for arg in argv])