fixed hasItem lua script function, missing return value for lua