using dummy cache for example project
check if switch_key is valid before using it