Checks access for a given plugin using the plugin's access() method.
@todo This needs more explanation, some @see, and parameter documentation. @todo What the heck kind of parameter name is "facet"?
function system_plugin_ui_access($plugin, $facet = NULL) {
$plugin_ui = drupal_container()
->get('plugin.manager.system.plugin_ui')
->createInstance($plugin);
return $plugin_ui
->access($facet);
}