<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_readable_dir(path):
 """Returns whether a path names an existing directory we can list and read files from."""

  return os.path.isdir(path) and os.access(path, os.R_OK) and os.access(path, os.X_OK)