code: def get_master_tags(tags_list):
      _list = []
      tag_name = "master"
  
      if not isinstance(tags_list, list):
          print("tags_list is not a list.")
          return _list
  
      for tag in tags_list:
          if tag_name in tag and tag != tag_name + "-latest":
              _list.append(tag)
      return _list
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 18 for calling a global function with example usage: get_master_tags(tags_list) and returns: _list, _list