code: def recipe_tree(self, kitchen, recipe):
          
          rc = DKReturnCode()
          if kitchen is None or isinstance(kitchen, basestring) is False:
              rc.set(rc.DK_FAIL, 'issue with kitchen parameter')
              return rc
          if recipe is None or isinstance(recipe, basestring) is False:
              rc.set(rc.DK_FAIL, 'issue with recipe parameter')
              return rc
          url = '%s/v2/recipe/tree/%s/%s' % (self.get_url_for_direct_rest_call(),
                                             kitchen, recipe)
          try:
              response = requests.get(url, headers=self._get_common_headers())
              rdict = self._get_json(response)
              pass
          except (RequestException, ValueError, TypeError), c:
              s = "recipe_tree: exception: %s" % str(c)
              rc.set(rc.DK_FAIL, s)
              return rc
          if DKCloudAPI._valid_response(response):
              remote_sha = rdict['recipes'][recipe]
              rc.set(rc.DK_SUCCESS, None, remote_sha)
          else:
              arc = DKAPIReturnCode(rdict, response)
              rc.set(rc.DK_FAIL, arc.get_message())
          return rc
docs: gets the status of a recipe
          :param self: DKCloudAPI
          :param kitchen: string
          :param recipe: string
          :rtype: dict