(cls)
return cls.name.lower() in platform.platform().lower()
Detects if the host is an "instance" of the considered OS/distribution.
Detects if the host is an "instance" of the considered OS/distribution.
Detects if the host is an instance of the considered OS / distribution .
def detect(cls):
        """ Detects if the host is an "instance" of the considered OS/distribution. """
        return cls.name.lower() in platform.platform().lower()
def detect ( cls ) : return cls . name . lower ( ) in platform . platform ( ) . lower ( )