def has_conflicting_info(passages, qa_answers, nlg_answers):
	"""
	Checks whether an example has conflicting information
	regarding its answerability

	Args:
		passages: list[{"is_selected": int, "passage_text": str}]
		qa_answers: list[str]
		nlg_answers: list[str]
	Returns:
		bool
	"""

	has_rel_passage = sum([p_info["is_selected"] for p_info in passages]) != 0
	qa_avail = (qa_answers != ['No Answer Present.']) and (qa_answers != [""])
	nlg_avail = nlg_answers != "[]"

	# there is at least one nlg anser but no qa answer
	if nlg_avail and not qa_avail:
		return True

	# there is at least one answer but no relevant passage
	elif qa_avail and not has_rel_passage:
		return True

	# there is at least one relevant passage but no answer is available
	elif has_rel_passage and not qa_avail:
		return True

	else:
		return False