code: def _listify(element: object) -> list:
      if not isinstance(element, list):
          return [element]
      else:
          return element
  
file_path: flair/flair/models/regexp_tagger.py
imports: import re
  import typing
  from dataclasses import dataclass, field
  from typing import Dict, List, Tuple, Union
  from flair.data import Sentence, Span, Token
label_desc: Use image node_id 5 for calling the RegexpTagger obj's underlying member method code with example usage: obj._listify(element) and returns: list, element