What’s this hard layer underneath the drywall in my bathroom? Cement board?

A square section of a wall is chiseled out, revealing a recessed metal plate with a hole in the center, surrounded by rough plaster edges.A small square patch on a wall, illuminated by a flashlight, appears to have a hole in the center.