def is_image_mutable(context, image):
    """Return True if the image is mutable in this context."""
    if context.is_admin:
        return True
    if image['owner'] is None or context.owner is None:
        return False
    return image['owner'] == context.owner
