code: def _is_valid_by_type(self, val):
      return val in self.valid_values_by_type
  
file_path: mindsdb/mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi.py
imports: import requests
label_desc: Use image node_id 3 for calling the OilPriceAPIClient obj's underlying member method code with example usage: obj._is_valid_by_type(val) and returns: unknown