docs: def str_if_not_none(value):
      """
      Returns an str(value) if the value is not None.
  
      :param value: None or a value that can be converted to a str.
      :return: None or str(value)
      """
      if not(value is None or isinstance(value, string_types)):
          value = str(value)
  
      return value