You need to start the cycle until you find the match. You can use anyfor this purpose, for example
if any(dict_object[key] == (500, 50, 200) for key in dict_object):
print('Yes')
else:
print('No')
any. dict , (500, 50, 200). , , any True , . (500, 50, 200), any False No.
: OP , . , for..else, NPE,
for key in dict_object:
if key.startswith('test_') and dict_object[key] == (500, 50, 200):
break
else:
print('No matches')