Determines if a plugin instance exists.
string $instance_id: The ID of the plugin instance to check.
bool TRUE if the plugin instance exists, FALSE otherwise.
public function has($instance_id) {
return isset($this->pluginInstances[$instance_id]) || isset($this->instanceIDs[$instance_id]);
}