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