I want to have a script check if my lance is on me without having do something like "look lance" and parsing the result, I just want to pull it directly from GameObj.inv

I already found out its ID, so now I have this:

o = GameObj.inv.find { |obj| obj.id == "#154402994" }

echo o.id
echo o.noun
echo o.name
echo o.contents
echo o.status

But it's not working. Nothing is found. Any thoughts?