dc_check function

check if the DataCite API is up or not