Indicates if a specific plugin definition exists.
string $plugin_id: A plugin ID.
bool TRUE if the definition exists, FALSE otherwise.
public function hasDefinition($plugin_id);