def METHOD_NAME() -> None:
    """Test validate_task_ins."""
    task_ins = TaskIns(task=None)
    assert not validate_task_ins(task_ins, discard_reconnect_ins=True)
    assert not validate_task_ins(task_ins, discard_reconnect_ins=False)