code: public function shouldBeRun(): bool
      {
          $schemaManager = $this->connection->getSchemaManager();
  
          if (!$schemaManager->tablesExist(['tl_layout'])) {
              return false;
          }
  
          $columns = $schemaManager->listTableColumns('tl_layout');
  
          return !isset($columns['minifymarkup']);
      }
docs: {@inheritdoc}