def IsExecutable(filename):
  return os.path.isfile(filename) and os.access(filename, os.X_OK)
Return the considered forum in order to allow permission checks.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/wrapper.py/IsExecutable--crossover with--dataset/ETHPy150Open ellmetha/django-machina/machina/apps/forum_tracking/views.py/MarkTopicsReadView.get_controlled_object