<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def status(self, jobId=None, jobType=None):
 """ Inquire about status when publishing an item, adding an item in async mode, or adding with a multipart upload. "Partial" is available for Add Item Multipart, when only a part is uploaded and the item is not committed. Input: jobType The type of asynchronous job for which the status has to be checked. Default is none, which check the item's status. This parameter is optional unless used with the operations listed below. Values: publish, generateFeatures, export, and createService jobId - The job ID returned during publish, generateFeatures, export, and createService calls. """

        params = {
            "f" : "json"
        }
        if jobType is not None:
            params['jobType'] = jobType
        if jobId is not None:
            params["jobId"] = jobId
        url = "%s/status" % self.root
        return self._get(url=url,
                            param_dict=params,
                            securityHandler=self._securityHandler,
                            proxy_port=self._proxy_port,
                            proxy_url=self._proxy_url)