def METHOD_NAME(load_test_data, link, trailing_slash):
    """
    Check whether the given internal URL is correctly identified as valid link
    :param load_test_data: The fixture providing the test data (see :meth:`~tests.conftest.load_test_data`)
    :type load_test_data: NoneType
    :param link: The URL to check
    :type link: str
    :param trailing_slash: Whether to ensure the trailing slash
    :type trailing_slash: bool
    """
    url = prepage_url(link, trailing_slash)
    assert check_internal(url), f"URL '{link}' is not correctly identified as valid"