question: public static boolean isBluetoothEnabled ( ) { BluetoothAdapter mBluetoothAdapter = BluetoothAdapter . getDefaultAdapter ( ) ; return ( mBluetoothAdapter != null && mBluetoothAdapter . isEnabled ( ) ) ; }
target:  Check if bluetooth connection is enabled