diff --git a/src/MenuItemParser.php b/src/MenuItemParser.php
index 2b48dc8..8c2cff9 100644
--- a/src/MenuItemParser.php
+++ b/src/MenuItemParser.php
@@ -90,8 +90,28 @@ class MenuItemParser {
    *   Returns TRUE if menu_firstchild is enabled on the menu item.
    */
   protected function enabled(array $item) {
-    $options = $item['url']->getOption('menu_firstchild');
-    return !empty($options['enabled']);
+    $plugin_definition = $item['original_link']->getPluginDefinition();
+
+    if (!isset($plugin_definition['metadata']['entity_id'])) {
+      return FALSE;
+    }
+
+    $storage = \Drupal::entityTypeManager()->getStorage('menu_link_content');
+
+    $entity_id = $plugin_definition['metadata']['entity_id'];
+    $entity = $storage->load($entity_id);
+
+    if (!$entity) {
+      return FALSE;
+    }
+
+    $links = $entity->link;
+
+    if (!$links) {
+      return FALSE;
+    }
+
+    return !empty($links->first()->options['menu_firstchild']['enabled']);
   }

 }