protected function gEquipped() { return $this->items->first(function ($hash, InventoryItem $item) { return $item->isEquipped; }); }