if ($config->hasFeatureA()) { // show feature A or put it into the container }