@Override public boolean isActive(String value,String inactiveValue){
  try {
    int attrValue=Integer.parseInt(value);
    return !((attrValue & DISABLED_MASK) != 0);
  }
 catch (  NumberFormatException nfe) {
    return false;
  }
}

@ Override public boolean isActive ( String value , String inactiveValue ) { try { int attrValue = Integer . parseInt ( value ) ; return ! ( ( attrValue & DISABLED_MASK ) != 0 ) ; } catch ( NumberFormatException nfe ) { return false ; } }
based on the incoming useraccountcontrol value tells whether the user account is active or disabled .
