private boolean isMultiValue(String componentType){
  if (null == componentType) {
    return false;
  }
  return (componentType.startsWith("javax.faces.SelectMany") || componentType.startsWith("javax.faces.SelectOne"));
}

private boolean isMultiValue ( String componentType ) { if ( null == componentType ) { return false ; } return ( componentType . startsWith ( "javax.faces.SelectMany" ) || componentType . startsWith ( "javax.faces.SelectOne" ) ) ; }
determines if the component type is a selectmany or selectone .
