Add exist() querry

This will help to keep the code cleaner.
select->fetchall()
exist->fetchone()