code: def is_template(self) -> bool:
      return "{index}" in self.uri
  
imports: import re
  from typing import Dict, List, Optional, Union
  import pydantic
  from .model import MLModelSpec
label_desc: Use image node_id 1 for calling the ArtifactOutputApplySpec obj's underlying member method code with example usage: obj.is_template() and returns: unknown