Merge "Add common method to check the microversion compatibility"