Check if Object Instance of Class - DSA Problem | Talentd