It will return a boolean value, i.e True if the string ends with the specified value, otherwise it will return False.
String.endswith(value, start, end)
#value - It is a suffix(end value) that
needs to be checked in the given String.
#start - (Optional) It is a position to start
the search, by default,it is 0
#end - (Optional) It is a position to end search,
by default is the end of the string