function validateFlags(arguments_list){
	let flags = [FILM,SEASON,EPISODE,LANGUAGE];

	for(let flag of arguments_list){
		if(!flags.includes(flag)) throw new Error(`Invalid flag:${flag}`);
	}

	if (!arguments_list.includes(SEASON)){ throw new Error('Season has to be entered:type ssn="mov" if a movie')};

	return true;

}
/**
 * validateFlags -> Boolean
 *
 * arguments_list: List
 * Returns a truthy value if all flags are valid
 **/
> Boolean
arguments_list: List
Returns a truthy value if all flags are valid
> Boolean arguments_list : List Returns a truthy value if all flags are valid
function validateFlags(arguments_list){
	let flags = [FILM,SEASON,EPISODE,LANGUAGE];
	for(let flag of arguments_list){
		if(!flags.includes(flag)) throw new Error(`Invalid flag:${flag}`);
	}
	if (!arguments_list.includes(SEASON)){ throw new Error('Season has to be entered:type ssn="mov" if a movie')};
	return true;
}
function validateFlags ( arguments_list ) { let flags = [ FILM , SEASON , EPISODE , LANGUAGE ] ; for ( let flag of arguments_list ) { if ( ! flags . includes ( flag ) ) throw new Error ( ` ${ flag } ` ) ; } if ( ! arguments_list . includes ( SEASON ) ) { throw new Error ( 'Season has to be entered:type ssn="mov" if a movie' ) } ; return true ; }
validateFlags -> Boolean
 arguments_list: List
 Returns a truthy value if all flags are valid
validateFlags - > Boolean arguments_list : List Returns a truthy value if all flags are valid