code: def is_request_only_scalar(scalar):
      if len(scalar.field_metadata()) == 0:
          return False
      for metadata in scalar.field_metadata():
          if not (
              metadata
              and metadata.feature_specs
              and getattr(
                  metadata.feature_specs,
                  "feature_is_request_only",
                  False,
              )
          ):
              return False
      return True
  
imports: import logging
  from collections import namedtuple
  import numpy
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core, schema, scope, utils, workspace
  from caffe2.python.layers.tags import TagContext
label_desc: Use image node_id 10 for calling a global function with example usage: is_request_only_scalar(scalar) and returns: True, False, False