code: def remove_suffix(text: str, suffix: str):
      """Give a text, removes suffix substring from it"""
      if text.endswith(suffix):
          return text[: -len(suffix)]
      return text
  
file_path: argilla/src/argilla/server/helpers.py
imports: import logging
  from typing import Any, Dict, List, Optional
label_desc: Use image node_id 5 for calling a global function with example usage: remove_suffix(text, suffix) and returns: text, text