code: private static boolean shouldRenderResponsiveClasses(Object r) {
              // This method only checks inputs.
              if(r instanceof UIComponent && r instanceof IResponsiveLabel) {
                  UIForm form = AJAXRenderer.getSurroundingForm((UIComponent) r, true);
                  if(form instanceof Form) {
                      if(((Form)form).isInline()) {
                          // If the form is inline, no responsive classes should be applied
                          return false; 
                      }
                  }
              }
              
              return true;
          }
docs: Temporal and ugly hack to prevent responsive classes to be applied to inputs inside inline forms.
  
  This should be removed and the logic placed somewhere else.
  
  @return whether the component should render responsive classes