How do I loop through a nested JavaScript object to check for a specific value

welcome to shbcf.ru