Recommended way to test for executable