def METHOD_NAME(self):
    if not is_apple_os(self) and self.settings.os != "Linux":
        raise ConanInvalidConfiguration(f"{self.ref} is only available for GNU-like operating systems (e.g. Linux)")