check for mutator

Now that we might not have a mutator, we should check def.mutator before checking if it's visible.