The "owner" tag is initialized as an empty string, for an item (see
You must be registered to see links
)
This means that if String.isEmpty() is true, the item won't have an owner tag.
Looping though all the equipment tab items, with a check like:
PHP:
if (!item.getOwner().isEmpty()) {
//show the item, because it has a tag;
}
should be enough.