[sr-dev] git:master:e70283a0: cdp: use the function to check if it is shutdown phase