code: def is_uid(str):
      
  
      import re
  
      if len(str)!=16:
         return False
  
      pattern = r'[^\.a-f0-9]'
      if re.search(pattern, str.lower()):
          return False
  
      return True
docs: Input:  string to check
  
      Output: True if UID, otherwise False