I don't think `is_executable('tail')` would work, because you would need to know the path to the `tail` executable.