<prompt> Etsa mosebetsi ho hlahloba hore na khoele e fanoeng e na le litlhaku tse kholo.nan  <response>: Instruction in English: Create a function to check if a given string contains any capital letters. . Response in English: Heres a function written in Python that checks if a given string contains any capital letters:pythondef contains_capital_lettersstring: str: for char in string: if char.isupper: return True return FalseThis function accepts a string argument and returns a bool value. It iterates through all characters in the given string and uses the isupper method to check if the character is a capital letter. If any capital letter is found, the function immediately returns True. If the loop completes without finding any capital letter, the function returns False. . Response in Sesotho: Mona ke mosebetsi o ngotsoeng ka Python o hlahlobang hore na khoele e fanoeng e na le litlhaku tse kholo: python def has_capital_lettersstring: str: for char in string: if char.isupper: return True return False Mosebetsi ona e amohela khang ea likhoele me e khutlisa boleng ba bool. E pheta-pheta litlhaku tsohle tsa khoele e fanoeng me e sebelisa mokhoa oa isupper ho lekola hore na tlhaku ke tlhaku e kholo. Ha tlhaku efe kapa efe e ka fumanwa, tshebetso e tla kgutla hanghang Nnete. Haeba lupu e fela ntle le ho fumana tlhaku e kholo, tšebetso e khutlisa False. 