public static boolean isMimeTypeVideo(String mimeType){
  if (mimeType.equals(Const.ContentTypes.VIDEO_MP4)) {
    return true;
  }
  return false;
}

public static boolean isMimeTypeVideo ( String mimeType ) { if ( mimeType . equals ( Const . ContentTypes . VIDEO_MP4 ) ) { return true ; } return false ; }
return if mime type is video
