class_docstr: This class manages the *InputMode.SPARK* data feeding process from the perspective of the TensorFlow application.
  
  Args:
    :mgr: TFManager instance associated with this Python worker process.
    :train_mode: boolean indicating if the data feed is expecting an output response (e.g. inferencing).
    :qname_in: *INTERNAL_USE*
    :qname_out: *INTERNAL_USE*
    :input_mapping: *For Spark ML Pipelines only*.  Dictionary of input DataFrame columns to input TensorFlow tensors.
class_docstr_tok: ["This","class","manages","the","*","InputMode.SPARK","*","data","feeding","process","from","the","perspective","of","the","TensorFlow","application",".","Args",":",":","mgr",":","TFManager","instance","associated","with","this","Python","worker","process",".",":","train_mode",":","boolean","indicating","if","the","data","feed","is","expecting","an","output","response","(","e.g",".","inferencing",")",".",":","qname_in",":","*","INTERNAL_USE","*",":","qname_out",":","*","INTERNAL_USE","*",":","input_mapping",":","*","For","Spark","ML","Pipelines","only","*",".","Dictionary","of","input","DataFrame","columns","to","input","TensorFlow","tensors","."]
docstr: Check if the feed process was told to stop (by a call to ``terminate``).
docstr_tok: ["Check","if","the","feed","process","was","told","to","stop","(","by","a","call","to","``","terminate","``",")","."]
code: def should_stop(self):
      """Check if the feed process was told to stop (by a call to ``terminate``)."""
      return self.done_feeding
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import nested_scopes
  from __future__ import print_function
  import getpass
  import logging
  import pkg_resources
  from packaging import version
  from six.moves.queue import Empty
  from .None import compat, marker
label_desc: Use image node_id 3 for calling the DataFeed obj's underlying member method code with example usage: obj.should_stop() and returns: self