The ability to lactate by members of a species is one of the generalised indicators that members of that species can be classed as mammals. This means that it makes no difference if an individual within a species cannot for whatever reason demonstrate all of those indicators. As long as the individual can be classed as a member of a species that qualifies then it makes no difference whether they cut their tits off, they’re still a mammal.