usb – Is it safe to use a powered hub while plugged in?

I have a USB hub which powers itself when plugged in to USB, but also has a DC pin jack for using the hub as a multi-port charger if you don’t have USB available (or want to provide charging to a device without connecting it to your computer etc.)

Is it safe to plug it in to say, my laptop USB AND have its DC pin plugged in to its wall wart too?