add hasdata for judging the intent was received or not