public static boolean isBlank(Integer key){
  return ((null == key) || (0 == key.intValue()));
}

public static boolean isBlank ( Integer key ) { return ( ( null == key ) || ( 0 == key . intValue ( ) ) ) ; }
returns true if null or zero .
