hasCameraPermission

Checks if the application has permission to access the camera.

This method verifies whether the app has been granted the CAMERA permission.

Return

true if the camera permission is granted, false otherwise.