code: def checkifstar(self, **args):
  		'''
  		Check a gist if starred by providing gistID or gistname(for authenticated user)
  		'''
  
  		if 'name' in args:
  			self.gist_name = args['name']
  			self.gist_id = self.getMyID(self.gist_name)
  		elif 'id' in args:
  			self.gist_id = args['id']
  		else:
  			raise Exception('Either provide authenticated user\'s Unambigious Gistname or any unique Gistid to be checked for star')
  
  		r = requests.get(
  			'%s'%BASE_URL+'/gists/%s/star' % self.gist_id,
  			headers=self.gist.header
  			)
  		if (r.status_code == 204):
  			response = {
  				'starred': 'True',
  				'id': self.gist_id
  				}
  		else:
  			response = {
  				'starred': 'False'
  			}
  
  		return responsf checkifstar(self, **args):
  		'''
  		Check a gist if starred by providing gistID or gistname(for authenticated user)
  		'''
  
  		if 'name' in args:
  			self.gist_name = args['name']
  			self.gist_id = self.getMyID(self.gist_name)
  		elif 'id' in args:
  			self.gist_id = args['id']
  		else:
  			raise Exception('Either provide authenticated user\'s Unambigious Gistname or any unique Gistid to be checked for star')
  
  		r = requests.get(
  			'%s'%BASE_URL+'/gists/%s/star' % self.gist_id,
  			headers=self.gist.header
  			)
  		if (r.status_code == 204):
  			response = {
  				'starred': 'True',
  				'id': self.gist_id
  				}
  		else:
  			response = {
  				'starred': 'False'
  			}
  
  		return response
docs: Check a gist if starred by providing gistID or gistname(for authenticated user)