How to Check Camera2 API Support on Android Devices

How to Check if your Android Device supports Camera2 API