- compare rpm and python metadata version - import selinux module and try selinux.is_selinux_enabled()