def METHOD_NAME(fake_get_project_request: web.Request, is_public: bool):
    project_uuid: str = fake_get_project_request.match_info["project_uuid"]
    permalink = create_permalink_for_study(
        fake_get_project_request,
        project_uuid=project_uuid,
        project_type=ProjectType.TEMPLATE,
        project_access_rights={"1": {"read": True, "write": False, "delete": False}},
        project_is_public=is_public,
    )
    assert permalink.is_public is is_public
    assert permalink.url.path.endswith(project_uuid)