def is_installed(cls, dep): try: ClHelper('which rpm') return True except exceptions.ClException: return False