This page contains the following errors: error on line 1 at column 2: StartTag: invalid element name Below is a rendering of the page up to the first error. code example

Example: Write a function isRed() that accepts a string parameter and looks for the presence of the word ‘red’ in the string. If it is found, return boolean True otherwise False. Finally output the result of calling the function with the value in text.

Write a function isRed() that accepts a string parameter and looks for the presence of the word ‘red’ in the string.
If it is found, return boolean True otherwise False.
Finally output the result of calling the function with the value in text.
def isRed(redexistance):
  output = redexistance.find('red')
  if output < 0:
    return 'False'
  else:
    return 'True'
print(isRed(text))