title: Check if a row exists or not in postgresql
body: <p>I have seen many posts about this in SO. But I could not get an answer.
  I want to the query to check if a particular row exists or not in a table. If it exists, it should return me a <strong>string</strong> true and stop the search there itself and if not return false.</p>