Indeed. It's basically bool AreParentalControlsEnabled();
The way you enable them is by the root user typing a number less than 18.