def __check_if_negative(duration_in_seconds: int) ->None:
    """
    Check if duration_in_seconds is negative.

    :param duration_in_seconds: Duration in seconds.
        max: 67767976233532799.
    """
    if duration_in_seconds < 0:
        raise ValueError('duration_in_seconds needs to be positive.')
