function canDomainAddGSuite( domainName ) {
	const GOOGLE_APPS_INVALID_SUFFIXES = [ '.in', '.wpcomstaging.com' ];
	const GOOGLE_APPS_BANNED_PHRASES = [ 'google' ];
	const includesBannedPhrase = some( GOOGLE_APPS_BANNED_PHRASES, bannedPhrase =>
		includes( domainName, bannedPhrase )
	);
	const hasInvalidSuffix = some( GOOGLE_APPS_INVALID_SUFFIXES, invalidSuffix =>
		endsWith( domainName, invalidSuffix )
	);

	return ! ( hasInvalidSuffix || includesBannedPhrase || isGSuiteRestricted() );
}
function canDomainAddGSuite( domainName ) {
	const GOOGLE_APPS_INVALID_SUFFIXES = [ '.in', '.wpcomstaging.com' ];
	const GOOGLE_APPS_BANNED_PHRASES = [ 'google' ];
	const includesBannedPhrase = some( GOOGLE_APPS_BANNED_PHRASES, bannedPhrase =>
		includes( domainName, bannedPhrase )
	);
	const hasInvalidSuffix = some( GOOGLE_APPS_INVALID_SUFFIXES, invalidSuffix =>
		endsWith( domainName, invalidSuffix )
	);

	return ! ( hasInvalidSuffix || includesBannedPhrase || isGSuiteRestricted() );
}
function canDomainAddGSuite ( domainName ) { const GOOGLE_APPS_INVALID_SUFFIXES = [ '.in' , '.wpcomstaging.com' ] ; const GOOGLE_APPS_BANNED_PHRASES = [ 'google' ] ; const includesBannedPhrase = some ( GOOGLE_APPS_BANNED_PHRASES , bannedPhrase => includes ( domainName , bannedPhrase ) ) ; const hasInvalidSuffix = some ( GOOGLE_APPS_INVALID_SUFFIXES , invalidSuffix => endsWith ( domainName , invalidSuffix ) ) ; return ! ( hasInvalidSuffix || includesBannedPhrase || isGSuiteRestricted ( ) ) ; }
Can a domain add G Suite

@param {String} domainName - domainname
@returns {Boolean} -Can a domain add G Suite
Can a domain add G Suite