check task name is exists