Add helper to determine if touch id is available

Will this compile fine on the previous xcode?