Boolean, Python, Evaluation, Short Circuit.
{"name": "Alice", "age": 30} # Potential KeyError without short-circuit evaluation if "name" in person and person["name"] == "Alice": print("Found Alice!") # Using short-circuit evaluation to avoid potential KeyError if person.get("name") == "Alice": print("Found Alice!") In this example, using