* Don't show "context" for classes without either contextType or contextTypes
* For classes with contextTypes, change the label to "legacy context" instead

---
Originally reported by @gaearon via https://github.com/bvaughn/react-devtools-experimental/issues/368
let currentElement = element;
      while (currentElement !== null) {
        if (currentElement.type === ElementTypeSuspense) {
          nearestSuspenseElement = currentElement;
          break;
        } else if (currentElement.parentID > 0) {
          currentElement = store.getElementByID(currentElement.parentID);
        } else {
          currentElement = null;
        }
      }
      
      
      if (nearestSuspenseElement === null) {
        modalDialogDispatch({
          type: 'SHOW',
          content: <CannotSuspendWarningMessage />,
        });
      } else {
        const nearestSuspenseElementID = nearestSuspenseElement.id;
        
        
        if (nearestSuspenseElement !== element) {
          dispatch({
            type: 'SELECT_ELEMENT_BY_ID',
            payload: nearestSuspenseElementID,
          });
        }
        const rendererID = store.getRendererIDForElement(
          nearestSuspenseElementID,