Faster check if command exists