code: def last_char_not_in(string_ser, characters):
      last_char_strs = string_ser.str.get(-1)
      last_char_ser = cudf.Series(last_char_strs)
      last_char_flag = None
      for char in characters:
          if last_char_flag is not None:
              last_char_flag = last_char_flag & (last_char_ser != char)
          else:
              last_char_flag = last_char_ser != char
      return last_char_flag
  
imports: from .consonant_vowel_utils import is_vowel, is_consonant
  from .len_flags_utils import len_gt_n, len_eq_n
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 3 for calling a global function with example usage: last_char_not_in(string_ser, characters) and returns: last_char_flag