public static boolean isRawMobScan(Scan scan) {
    byte[] raw = scan.getAttribute(MobConstants.MOB_SCAN_RAW);
    try {
      return raw != null && Bytes.toBoolean(raw);
    } catch (IllegalArgumentException e) {
      return false;
    }
  }
Indicates whether it's a raw scan. The information is set in the attribute "hbase.mob.scan.raw"
of scan. For a mob cell, in a normal scan the scanners retrieves the mob cell from the mob
file. In a raw scan, the scanner directly returns cell in HBase without retrieve the one in the
mob file.
@param scan The current scan.
@return True if it's a raw scan.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java