<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_executable(path):
 """Returns whether a path names an existing executable file."""

  return os.path.isfile(path) and os.access(path, os.X_OK)