def METHOD_NAME(self):
    if (
        self.environment[osetupcons.CoreEnv.DEVELOPER_MODE] or
        self.command.get('selinuxenabled', optional=True) is None
    ):
        self._enabled = False
    else:
        rc, stdout, stderr = self.execute(
            (
                self.command.get('selinuxenabled'),
            ),
            raiseOnError=False,
        )
        self._enabled = rc == 0