@lru_cache(maxsize=<NUM_LIT>)<EOL>def path_is_known_executable(path):<EOL>
return (<EOL>path_is_executable(path)<EOL>or os.access(str(path), os.R_OK)<EOL>and path.suffix in KNOWN_EXTS<EOL>)<EOL>
Returns whether a given path is a known executable from known executable extensions
or has the executable bit toggled.

:param path: The path to the target executable.
:type path: :class:`~vistir.compat.Path`
:return: True if the path has chmod +x, or is a readable, known executable extension.
:rtype: bool