async def check_archon(command, spectro: str):
    """Check the archon CCD status"""
    # Check that the configuration of archon controller has been loaded.
    archon_cmd = await (await command.actor.send_command("archon", "status"))
    if archon_cmd.status.did_fail:
        return "Failed getting status from the controller"
    else:
        replies = archon_cmd.replies
        check_idle = replies[-2].body["status"]["status_names"][0]
        if check_idle != "IDLE":
            return "archon is not initialized"
        else:
            return True