function isDuplicatedUrlArg (baseUrl) {
  const checker = window.GRAPHQL_ENDPOINT.split('/')
  return (checker[1] === baseUrl)
}
Verify if the baseUrl is already present in the first part of GRAPHQL_ENDPOINT url
to avoid unexpected duplication of paths
@param {string} baseUrl [comes from {@link render} function]
@returns boolean