no, the inCart function can only use the ID column. Are you trying to create a discount, shipping or tax rule?
if so, you can use the items with a specific value trigger option of calculation option.
Or are you trying to show a message on the page if an item with a specific LineCode value is present?
if that's the case, then use this code:
<?php if($<Your eCart Object Name>->ConditionalTotal("Quantity", "LineCode", "Line Code Value") > 0)) { ?>
Your Message
<?php } ?>
you will need to substitute:
<Your eCart Object Name>
for the name of your eCart object, and also:
Line Code Value
for the actual value you are looking for.