public boolean contains(int id) {
		// Get Read Access & Execute Query
		SQLiteDatabase db = this.getReadableDatabase();
		Cursor cursor = db.query(TABLE_ARTICLES,
		                         new String[] {KEY_TAGS, KEY_MEDIA_CONTENT, KEY_SOURCE, KEY_IMAGE, KEY_TITLE, KEY_DESCRIPTION, KEY_CONTENT, KEY_COMMENTS, KEY_AUTHOR,
			                         KEY_DATE, KEY_ID}, KEY_ID + "=?", new String[] {String.valueOf(id)}, null, null, null, null);

		// Check if any row exists for this query
		boolean exists = cursor.moveToFirst();

		// Close & Return
		cursor.close();
		db.close();
		return exists;
	}
public boolean contains ( int id ) { SQLiteDatabase db = this . getReadableDatabase ( ) ; Cursor cursor = db . query ( TABLE_ARTICLES , new String [ ] { KEY_TAGS , KEY_MEDIA_CONTENT , KEY_SOURCE , KEY_IMAGE , KEY_TITLE , KEY_DESCRIPTION , KEY_CONTENT , KEY_COMMENTS , KEY_AUTHOR , KEY_DATE , KEY_ID } , KEY_ID + "=?" , new String [ ] { String . valueOf ( id ) } , null , null , null , null ) ; boolean exists = cursor . moveToFirst ( ) ; cursor . close ( ) ; db . close ( ) ; return exists ; }
@param id ID to search for.
@return {@code true} if found or {@code false} if otherwise.