class_docstr: A class for removing the ``run_tensorboard_locally`` parameter from ``fit()``.
docstr: Checks ``ast.Call`` node and returns boolean.
  
  If the ``ast.Call`` node invokes a function named "fit" and
  contains a keyword argument named "run_tensorboard_locally" returns boolean.
  
  Args:
      node (ast.Call): a node that represents a function call. For more,
          see https://docs.python.org/3/library/ast.html#abstract-grammar.
  
  Returns:
      bool: If the ``ast.Call`` is invoking a function named "fit" with
          a parameter named "run_tensorboard_locally".
docstr_tok: ["Checks","``","ast.Call","``","node","and","returns","boolean",".","If","the","``","ast.Call","``","node","invokes","a","function","named","``","fit","''","and","contains","a","keyword","argument","named","``","run_tensorboard_locally","''","returns","boolean",".","Args",":","node","(","ast.Call",")",":","a","node","that","represents","a","function","call",".","For","more",",","see","https",":","\/\/docs.python.org\/3\/library\/ast.html","#","abstract-grammar",".","Returns",":","bool",":","If","the","``","ast.Call","``","is","invoking","a","function","named","``","fit","''","with","a","parameter","named","``","run_tensorboard_locally","''","."]
code: def node_should_be_modified(self, node):
      """Checks ``ast.Call`` node and returns boolean.
  
      If the ``ast.Call`` node invokes a function named "fit" and
      contains a keyword argument named "run_tensorboard_locally" returns boolean.
  
      Args:
          node (ast.Call): a node that represents a function call. For more,
              see https://docs.python.org/3/library/ast.html#abstract-grammar.
  
      Returns:
          bool: If the ``ast.Call`` is invoking a function named "fit" with
              a parameter named "run_tensorboard_locally".
      """
      is_fit_call = (
          isinstance(node.func, ast.Attribute)
          and node.func.attr == "fit"
      )
      if is_fit_call:
          for kw in node.keywords:
              if kw.arg == "run_tensorboard_locally":
                  return True
  
      return False
  
imports: from __future__ import absolute_import
  import ast
  import boto3
  import six
  from sagemaker.cli.compatibility.v2.modifiers import framework_version, matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
  from sagemaker import image_uris
label_desc: Use image node_id 1 for calling the TensorBoardParameterRemover obj's underlying member method code with example usage: obj.node_should_be_modified(node) and returns: False, True