How to identify if a booted agent is Spot instance or OnDemand instance , when working with AWS EC2 instances