Added is_eu function.