if(trackingNum != null){ } Lightweight Application Lifecycle Management Using State-Cards