Writing a simple logic with dictionary of tuples

Job ID: 30710557

Budget: $10 – $30 USD

I want to write a simple logic that checks if inside the dictionary shown above the last value of the first tuple is False and the last value of the second tuple is True, then I need it to select the first value of the second tuple and call it “new sed”.
Related categories: PHP Python Software Architecture