Check for on_metadata_inventory_take