Finding if a tag is a DB or OPC

I have a project that I have directories with the line #'s and the tags underneath are all the same so i can do indirect tags. Some lines have a plc to read the data with opc and other lines that I must enter in manually. Is there a way to tell if the tag is a DB tag or a OPC tag in a Expression?

No, when you are in an expression you can’t tell the difference between an OPC, memory or expression tag because they are all just paths at that point. I generally name my tags in such a way where I can tell the difference.