class Composer

	def self.are_proper_format?(composers)
		if composers && composers != []
			Composer.loop_composers(composers)
		else
			false
		end
	end
	
	def self.loop_composers(composers)
		value = true
		composers.each do |c|
			if !Composer.is_proper_format?(c)
				value = false
				break
			end
		end
		value
	end
	
	def self.is_proper_format?(composer)
		if Contributor.is_human_name?(composer) && MusicMetadataScore.is_title_case?(composer) && !Artist.is_compound_artist?(composer, false)
			true
		else
			false
		end
	end

end