Create a function to check for different host platform versions and to
use it before enabling HA.
Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>