this could be `if keyz:` because in Python an empty data structure (list, dict, tuple, string, etc...) evaluates as False.