public boolean isLoginTimeout(long lastCallbackSent,long timeout){
  long now=currentTimeMillis();
  long timeoutVal=lastCallbackSent + (timeout - 3) * 1000;
  return (timeoutVal < now);
}

public boolean isLoginTimeout ( long lastCallbackSent , long timeout ) { long now = currentTimeMillis ( ) ; long timeoutVal = lastCallbackSent + ( timeout - 3 ) * 1000 ; return ( timeoutVal < now ) ; }
checks login state for time out
