check if intent has extra X before get extra X