code: def python_entrypoint_name(value: str) -> bool:
      if not ENTRYPOINT_REGEX.match(value):
          return False
      if not RECOMMEDED_ENTRYPOINT_REGEX.match(value):
          msg = f"Entry point `{value}` does not follow recommended pattern: "
          msg += RECOMMEDED_ENTRYPOINT_PATTERN
          _logger.warning(msg)
      return True
  
imports: import logging
  import os
  import re
  import string
  import typing
  from itertools import chain
label_desc: Use image node_id 12 for calling a global function with example usage: python_entrypoint_name(value) and returns: True, False