Check if Module is installed - Drupal 8 Using below example we can check if module is installed or not :