public boolean isAccountGrantError(){
  return (error != null && error.equalsIgnoreCase(ERROR_INVALID_GRANT));
}

public boolean isAccountGrantError ( ) { return ( error != null && error . equalsIgnoreCase ( ERROR_INVALID_GRANT ) ) ; }
returns true if the response indicates that account is inactive .
