code: def _ends_with(self, string_to_edit, end):  # pylint: disable=no-self-use
          
          if not string_to_edit.endswith(end):
              return string_to_edit + end
          return string_to_edit
docs: Check if string ends with characters in end, if not merge end to string.
  
          :param string_to_edit: string to check and edit.
          :param end: str
          :return: string_to_edit or string_to_edit + end