code: def endswith(self, suffix, start=0, end=None):
          
          args = [suffix, start] + ([] if end is None else [end])
          return self.value_no_colors.endswith(*args)
docs: Return True if ends with the specified suffix, False otherwise.
  
          With optional start, test beginning at that position. With optional end, stop comparing at that position.
          suffix can also be a tuple of strings to try.
  
          :param str suffix: Suffix to search.
          :param int start: Beginning position.
          :param int end: Stop comparison at this position.