code: def _is_unix_safe_simple(real_path):
      if _is_unix_admin():
          # In case we are root, just be conservative and
          # only execute known paths.
          return any(real_path.startswith(p) for p in _SAFE_PATHS)
  
      uid = os.stat(real_path).st_uid
      # The interpreter needs to be owned by root. This means that it wasn't
      # written by a user and therefore attacking Jedi is not as simple.
      # The attack could look like the following:
      # 1. A user clones a repository.
      # 2. The repository has an innocent looking folder called foobar. jedi
      #    searches for the folder and executes foobar/bin/python --version if
      #    there's also a foobar/bin/activate.
      # 3. The bin/python is obviously not a python script but a bash script or
      #    whatever the attacker wants.
      return uid == 0
  
imports: import os
  import sys
  import hashlib
  import filecmp
  from collections import namedtuple
  from jedi._compatibility import highest_pickle_protocol, which
  from jedi.cache import memoize_method, time_cache
  from jedi.evaluate.compiled.subprocess import CompiledSubprocess, EvaluatorSameProcess, EvaluatorSubprocess
  import parso
label_desc: Use image node_id 16 for calling a global function with example usage: _is_unix_safe_simple(real_path) and returns: unknown, any