function validateLanguage(language){
	language = `${language.charAt(0).toUpperCase()}${language.slice(1)}`; // capitalize string

	if(!Object.keys(languages).includes(language)){       // checks if language is part of languages object
		throw new Error(`${language}: Language is currenty not supported`)
	}; 
	return true;
}
/**
 * validateFlags -> Boolean
 *
 * Returns a truthy value if llanguage is valid
 **/
> Boolean
Returns a truthy value if llanguage is valid
> Boolean Returns a truthy value if llanguage is valid
function validateLanguage(language){
	language = `${language.charAt(0).toUpperCase()}${language.slice(1)}`; 
	if(!Object.keys(languages).includes(language)){       
		throw new Error(`${language}: Language is currenty not supported`)
	}; 
	return true;
}
function validateLanguage ( language ) { language = ` ${ language . charAt ( 0 ) . toUpperCase ( ) } ${ language . slice ( 1 ) } ` ; if ( ! Object . keys ( languages ) . includes ( language ) ) { throw new Error ( ` ${ language } ` ) } ; return true ; }
validateFlags -> Boolean
 Returns a truthy value if llanguage is valid
validateFlags - > Boolean Returns a truthy value if llanguage is valid
// capitalize string // checks if language is part of languages object