Added function to check if a feature is enabled.