public function remove_fee($key) { $removed = false; if (is_numeric($key)) { $removed = $this->remove_fee_by('index', $key); } return $removed; }