code: def can_strip_prefix(text:str, prefix:str) -> (bool, str):
      
      if text.startswith(prefix):
          return True, text[len(prefix):].strip()
      return False, text.strip()
docs: If the given text starts with the given prefix, True and the text without that prefix is returned.
      Else False and the original text is returned.
  
      Note: the text always is stripped, before returning.
  
      :param text:
      :param prefix:
      :return: (bool, str)  :class:`bool` whether he text started with given prefix, :class:`str` the text without prefix