This API is invoked other times as well. We are only interested in the events when VM is instantiated. Therefore, this check.