def is_namespace_mutable(context, namespace):
    """Return True if the namespace is mutable in this context."""
    if context.is_admin:
        return True
    if context.owner is None:
        return False
    return namespace.owner == context.owner
