private function isLegacyUrl($baseUrl) { return null === $baseUrl || $baseUrl === LegacyUrlPlugin::BASE_URL; }