docstr: Determines if features are defined as vector source based on MapViz arguments.
docstr_tok: ["Determines","if","features","are","defined","as","vector","source","based","on","MapViz","arguments","."]
code: def check_vector_template(self):
      """Determines if features are defined as vector source based on MapViz arguments."""
  
      if (
          self.vector_url is not None
          and self.vector_layer_name is not None
      ):
          self.template = "vector_" + self.template
          self.vector_source = True
      else:
          self.vector_source = False
  
imports: import codecs
  import json
  import os
  from IPython.core.display import HTML, display
  import numpy
  import requests
  from mapboxgl.errors import TokenError, LegendError
  from mapboxgl.utils import color_map, numeric_map, img_encode, geojson_to_dict_list
  from mapboxgl import templates
label_desc: Use image node_id 3 for calling the VectorMixin obj's underlying member method code with example usage: obj.check_vector_template() without return types