describe_field(record, key) that inspects a dictionary record for key and returns: "missing" if the key does not exist at all, "present but empty/zero/false" if the key exists but its value is falsy (e.g. 0, "", None, False, []), or "present with value" otherwise. This distinguishes "key absent" from "key present but empty" — a common source of bugs.describe_field({"name": "Sam"}, "age")'missing'
"age" is not a key in the dict at all.
describe_field({"age": 0}, "age")'present but empty/zero/false'
"age" exists but its value 0 is falsy.
describe_field({"age": 30}, "age")'present with value'
Key exists with a truthy value.
Use `key in record` to test existence separately from the value.
Only check truthiness after confirming the key exists.