public function field_exists($field_name, $table_name) { return in_array($field_name, $this->list_fields($table_name)); }