code: public static int getDisplayHeight(@NonNull final Context context) {
          Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
          return context.getResources().getDisplayMetrics().heightPixels;
      }
docs: Returns the height of the device's display.
  
  @param context
  The context, which should be used, as an instance of the class {@link Context}. The
  context may not be null
  @return The height of the device's display in pixels as an {@link Integer} value