It suppose to find "END" or "end" at the end of source string and if there is the word "end" at the end of the string , it should return true , else false
Be careful to read the documentation for string methods. The first argument must be index of the first (leftmost) character in the substring. The second argument may be omitted to extract all remaining characters. So: