def _should_allow_unhandled(class_reference, key_name):
    """Check if a property is allowed to be unhandled."""

    if not hasattr(class_reference, "__deserialize_allow_unhandled_map__"):
        return False

    return class_reference.__deserialize_allow_unhandled_map__.get(key_name, False)