code: def remove_prefix(text, prefix):
      """
      Remove the prefix from the text if it exists.
  
      >>> remove_prefix('underwhelming performance', 'underwhelming ')
      'performance'
  
      >>> remove_prefix('something special', 'sample')
      'something special'
      """
      null, prefix, rest = text.rpartition(prefix)
      return rest
  
imports: import re
  import itertools
  import textwrap
  import functools
  from pkg_resources.extern.jaraco.functools import compose, method_cache
  from pkg_resources.extern.jaraco.context import ExceptionTrap
label_desc: Use image node_id 10 for calling a global function with example usage: remove_prefix(text, prefix) and returns: rest