<commit_before>/proc/is_admin(var/user)
	if(ismob(user))
		var/mob/temp = user
		if(temp && temp.client && temp.client.holder)
			return TRUE

	else if(istype(user, /client))
		var/client/temp = user
		if(temp && temp.holder)
			return TRUE

	return FALSE

/proc/is_donator(var/user)
	if(is_admin(user))
		return TRUE

	if(ismob(user))
		var/mob/temp = user
		if(temp && temp.client && temp.client.prefs)
			return (temp.client.prefs.unlock_content & 2)

	else if(istype(user, /client))
		var/client/temp = user
		if(temp && temp.prefs)
			return (temp.prefs.unlock_content & 2)

	return FALSE

/proc/compare_ckey(var/user, var/target)
	if(!user || !target)
		return FALSE

	var/key1 = user
	var/key2 = target

	if(ismob(user))
		var/mob/M = user<commit_msg>mentors are donors too I guess? (#4296)<commit_after>/proc/is_admin(var/user)
	if(ismob(user))
		var/mob/temp = user
		if(temp && temp.client && temp.client.holder)
			return TRUE

	else if(istype(user, /client))
		var/client/temp = user
		if(temp && temp.holder)
			return TRUE

	return FALSE

/proc/is_donator(var/user)
	if(is_admin(user))
		return TRUE

	if(ismob(user))
		var/mob/temp = user
		if(temp && temp.client)
			if(temp.client.is_mentor())
				return TRUE
			if(temp.client.prefs)
				return (temp.client.prefs.unlock_content & 2)

	else if(istype(user, /client))
		var/client/temp = user
		if(temp)
			if(temp.is_mentor())
				return TRUE
			if(temp.prefs)
				return (temp.prefs.unlock_content & 2)

	return FALSE

/proc/compare_ckey(var/user, var/target)
	if(!user || !target)
		return FALSE

	var/key1 = user
	var/key2 = target

	if(ismob(user))
		var/mob/M = user
{'fraction_non_alphanumeric': 0.14582062233068943, 'fraction_numerical': 0.007321537522879805, 'mean_word_length': 3.5054945054945055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4871931', 'n_tokens_mistral': 714, 'n_tokens_neox': 636, 'n_words': 127}