code: def check_metas(dash_duo, metas):
      meta = dash_duo.find_elements("meta")
  
      # -3 for the meta charset and http-equiv and viewport.
      assert len(meta) == len(metas) + 3, "Should have  extra meta tags"
  
      assert meta[0].get_attribute("name") == metas[0]["name"]
      assert meta[0].get_attribute("content") == metas[0]["content"]
      for i in range(1, len(meta) - 3):
          assert (
              meta[i].get_attribute("property") == metas[i]["property"]
          )
          assert meta[i].get_attribute("content") == metas[i]["content"]
  
file_path: dash/tests/integration/multi_page/test_pages_layout.py
imports: import pytest
  import dash
  from dash import Dash, Input, State, dcc, html
  from dash.dash import _ID_LOCATION
  from dash.exceptions import NoLayoutException
label_desc: Use image node_id 3 for calling a global function with example usage: check_metas(dash_duo, metas) without return types