@staticmethod
def safe_either(method, dictionary, key1, key2, default_value=None):
    """A helper-wrapper for the safe_value_2() family."""
    value = method(dictionary, key1)
    return value if value is not None else method(dictionary, key2,
        default_value)
