In that case the answer to your question is yes.
liked is an attribute just like like_count. It should return true if you’ve liked the topic.
liked
like_count