code: public static boolean hasPermissions(android.app.Fragment fragment, String[]... permissions) {
          return hasPermissions(fragment.getActivity(), permissions);
      }
docs: Judgment already has the target permission.
  
  @param fragment {@link android.app.Fragment}.
  @param permissions one or more permission groups.
  
  @return true, other wise is false.