public boolean isActive(String value,String activeValue){
  return value == null || value.equalsIgnoreCase(activeValue);
}

public boolean isActive ( String value , String activeValue ) { return value == null || value . equalsIgnoreCase ( activeValue ) ; }
tells whether the user ' s status attribute corresponds to active or inactive status .
