code: def available(self, context):
  	
  		
  		
  		try:
  			if self.__available is None:
  				encoded_name = urllib.parse.quote_plus(self.__name)
  				status_code, msg = self.__endpoint.get(
  					"/resources/custom-resource/{}".format(encoded_name)
  				)
  				self.__available = status_code == 200
  		except:
  			self.__available = False
  			
  		return self.__available
docs: Resource availability.
  		
  		:param resort.engine.execution.Context context:
  		   Current execution context.