code: def is_palindrome_deque(s):
      s = remove_punctuation(s)
      deq = deque()
      for char in s:
          deq.appendleft(char)
  
      equal = True
  
      while len(deq) > 1 and equal:
          first = deq.pop()
          last = deq.popleft()
          if first != last:
              equal = False
  
      return equal
  
file_path: keon-algos/algorithms/strings/is_palindrome.py
imports: from string import ascii_letters
  from collections import deque
label_desc: Use image node_id 7 for calling a global function with example usage: is_palindrome_deque(s) and returns: equal