public static boolean isSnapshotOwner(org.apache.hadoop.hbase.client.SnapshotDescription snapshot,
    User user) {
    if (user == null) return false;
    return user.getShortName().equals(snapshot.getOwner());
  }
Check if the user is this table snapshot's owner
@param snapshot the table snapshot description
@param user     the user
@return true if the user is the owner of the snapshot, false otherwise or the snapshot owner
        field is not present.
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.java