Extending Drupal's Context Module: Custom Condition Based on Field Value

We use the context module for Drupal in every site we build. It's a great way to do things like create separate "sections" of a site, with different behaviors and layouts based on an arbitrary set of "conditions" or triggers. For example, we may want Blog posts to have a different layout than other parts of a site.