class_docstr: A class to update import statements starting with ``from sagemaker.tensorflow.serving``.
class_docstr_tok: ["A","class","to","update","import","statements","starting","with","``","from","sagemaker.tensorflow.serving","``","."]
docstr: Checks if the import statement imports from the ``sagemaker.tensorflow.serving`` module.
  
  Args:
      node (ast.ImportFrom): a node that represents a ``from ... import ... `` statement.
          For more, see https://docs.python.org/3/library/ast.html#abstract-grammar.
  
  Returns:
      bool: If the ``ast.ImportFrom`` uses the ``sagemaker.tensorflow.serving`` module.
docstr_tok: ["Checks","if","the","import","statement","imports","from","the","``","sagemaker.tensorflow.serving","``","module",".","Args",":","node","(","ast.ImportFrom",")",":","a","node","that","represents","a","``","from","...","import","...","``","statement",".","For","more",",","see","https",":","\/\/docs.python.org\/3\/library\/ast.html","#","abstract-grammar",".","Returns",":","bool",":","If","the","``","ast.ImportFrom","``","uses","the","``","sagemaker.tensorflow.serving","``","module","."]
code: def node_should_be_modified(self, node):
      """Checks if the import statement imports from the ``sagemaker.tensorflow.serving`` module.
  
      Args:
          node (ast.ImportFrom): a node that represents a ``from ... import ... `` statement.
              For more, see https://docs.python.org/3/library/ast.html#abstract-grammar.
  
      Returns:
          bool: If the ``ast.ImportFrom`` uses the ``sagemaker.tensorflow.serving`` module.
      """
      return node.module == "sagemaker.tensorflow.serving"
  
file_path: sagemaker-python-sdk/src/sagemaker/cli/compatibility/v2/modifiers/tfs.py
imports: from __future__ import absolute_import
  import ast
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
label_desc: Use image node_id 1 for calling the TensorFlowServingImportFromRenamer obj's underlying member method code with example usage: obj.node_should_be_modified(node) and returns: unknown