code: def _filter_repeating_nonalnum(phrase, length):
      """
      Check if a given phrase has non repeating alphanumeric chars
      of given length.
      Example: 'phrase $$$' with length=3 will return False
      """
      if len(phrase) > 0:
          alnum_len = length
          for t in phrase:
              if not t.is_alpha:
                  alnum_len -= 1
              else:
                  alnum_len = length
              if alnum_len == 0:
                  return None
      return phrase
  
imports: import pickle
  from os import path
  import numpy
  import spacy
  from spacy.tokens import Doc
  from spacy.tokens import Span
  from nlp_architect.models.chunker import SequenceChunker
  from nlp_architect.utils.generic import pad_sentences
  from nlp_architect.utils.io import validate_existing_filepath
  from nlp_architect.utils.text import extract_nps, Stopwords
label_desc: Use image node_id 3 for calling a global function with example usage: _filter_repeating_nonalnum(phrase, length) and returns: phrase, None