Check Approval is enabled on Pages Library/List

I was trying to locate how to check if the Approval is enabled on the Pages library or any other list/library, found this infor:

listItem.ModerationInformation.Status.Equals(SPModerationStatusType.Pending)

Comments