Creates the REST Url based on the supplied namespace

        args:
            namespace: string of the namespace
        kwargs:
            check_status_call: True/False, whether the function is called from
                    check_status. Used to avoid recurrsion error

def _make_url(self, namespace=None, url=None, **kwargs):
        """ Creates the REST Url based on the supplied namespace

        args:
            namespace: string of the namespace
        kwargs:
            check_status_call: True/False, whether the function is called from
                    check_status. Used to avoid recurrsion error
        """
        if not kwargs.get("check_status_call"):
            if not self.url:
                self.check_status
        rtn_url = self.url
        if url:
            rtn_url = url
        if rtn_url is None:
            rtn_url = self.ext_url
        namespace = pick(namespace, self.namespace)
        if namespace:
            rtn_url = os.path.join(rtn_url.replace("sparql", ""),
                                   "namespace",
                                   namespace,
                                   "sparql").replace("\\", "/")
        elif not rtn_url.endswith("sparql"):
            rtn_url = os.path.join(rtn_url, "sparql").replace("\\", "/")
        return rtn_url