code: public static boolean isNull(Cursor cursor, String columnName) {
          return cursor != null && cursor.isNull(cursor.getColumnIndex(columnName));
  
      }
docs: Checks if the column value is null or not.
  @see android.database.Cursor#isNull(int).
  @see android.database.Cursor#getColumnIndex(String).
  @param cursor the cursor.
  @param columnName the column name.
  @return true if the column value is null.