Add helper method to check for table has an unique constraint
Comment and stuffs