added method in camera to check if the device has a physical camera