code: def _append_project_tags(tags=None, working_dir=None):
      """Appends the project tag to the list of tags, if it exists.
  
      Args:
          working_dir: the working directory to start looking.
          tags: the list of tags to append to.
  
      Returns:
          A possibly extended list of tags that includes the project id.
      """
      path = _find_config(working_dir)
      if path is None:
          return tags
  
      config = _load_config(path)
      if config is None:
          return tags
  
      additional_tags = _parse_tags(config)
      if additional_tags is None:
          return tags
  
      all_tags = tags or []
      additional_tags = [
          tag for tag in additional_tags if tag not in all_tags
      ]
      all_tags.extend(additional_tags)
  
      return all_tags
  
file_path: sagemaker-python-sdk/src/sagemaker/_studio.py
imports: from __future__ import absolute_import
  import json
  import logging
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: _append_project_tags(tags, working_dir) and returns: all_tags, tags, tags, tags