I'm not native so someone plz correct me...
In modern Turkish, the only way is by experience and context. I.e. there's no solid way.
Sometimes you'd see the "-dır" suffix ("is"). In other Turkic dialects it's not optional so as a learner i find it useful to cross reference with those. HTH