code: def check_vector_template(self):
          
  
          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
docs: Determines if features are defined as vector source based on MapViz arguments.