code: public static boolean isHideNoSelectionOption(UIComponent component)
      {
          // check hideNoSelectionOption for literal value (String) or ValueExpression (Boolean)
          Object hideNoSelectionOptionAttr = component.getAttributes().get(
                  JSFAttr.HIDE_NO_SELECTION_OPTION_ATTR);
          return ((hideNoSelectionOptionAttr instanceof String && "true"
                  .equalsIgnoreCase((String) hideNoSelectionOptionAttr)) || 
                  (hideNoSelectionOptionAttr instanceof Boolean && ((Boolean) hideNoSelectionOptionAttr)));
      }
docs: Returns the value of the hideNoSelectionOption attribute of the given UIComponent
  @param component
  @return