has Permissions
Checks if the application has all necessary permissions for BLE operations.
This method verifies that scan, connect, and advertise permissions are all granted. On Android 12 (API 31) and above, this includes BLUETOOTH_SCAN, BLUETOOTH_CONNECT, and BLUETOOTH_ADVERTISE permissions.
This is a suspend function that runs on the IO dispatcher.
Return
true if all required BLE permissions are granted, false otherwise.