code: def schema_is_subset(self, dataset_id, table_id, schema):
          
  
          fields_remote = self._clean_schema_fields(
              self.schema(dataset_id, table_id)
          )
          fields_local = self._clean_schema_fields(schema["fields"])
  
          return all(field in fields_remote for field in fields_local)
docs: Indicate whether the schema to be uploaded is a subset
  
          Compare the BigQuery table identified in the parameters with
          the schema passed in and indicate whether a subset of the fields in
          the former are present in the latter. Order is not considered.
  
          Parameters
          ----------
          dataset_id : str
              Name of the BigQuery dataset for the table
          table_id : str
              Name of the BigQuery table
          schema : list(dict)
              Schema for comparison. Each item should have
              a 'name' and a 'type'
  
          Returns
          -------
          bool
              Whether the passed schema is a subset