def parse_result(is_emails_empty, is_phones_empty, dict_of_options):

	"""
	Control the result of parsing html document, in search for emails and phones.

	:param bool is_emails_empty: takes the boolean value of check if the list containing emails is not empty (lesser than 1)
	:param bool is_phones_empty: takes the boolean value of check if the list containing phones is not empty (lesser than 1)
	:param dict dict_of_options: dictionary of options that are used to find emails and phones
	:return: result string
	:rtype: str

	"""


	''' Basically - try every option if there are still options. '''
 
	if (is_emails_empty or is_phones_empty) and (all(dict_of_options.values()) is False) : # if there are no emails or no values and there are still options
		return "trying"
	else:
		if (is_phones_empty or is_emails_empty) and all(dict_of_options.values()): # if there are no emails or no values and there are no options left
			return "got_some"
		
		elif (not is_phones_empty and not is_emails_empty):
			return "got_all"