And this appears to all users - not just the admin user -t he site admin/server admin are the only users that can take action on this so it really shouldn't be displayed on user profile pages at all IMO.
the other option is to force the server-admin to install both plugins by adding a dependeny in the version.php file.
more information on dependencies is in here:
https://docs.moodle.org/dev/version.php
When the smart cohort plugin is not installed, it displays the following message to all users on every users profile.
Assigned cohorts by Smart Cohort Smart Cohort plugin is not installed You can check the plugin's official page: https://moodle.org/plugins/local_cnw_smartcohort
And this appears to all users - not just the admin user -t he site admin/server admin are the only users that can take action on this so it really shouldn't be displayed on user profile pages at all IMO.