Checking if auto-focus is available before turning it on