'check if openshift is installed'

@staticmethod
def openshift_installed():

    import yum
    yum_base = yum.YumBase()
    if yum_base.rpmdb.searchNevra(name='atomic-openshift'):
        return True
    return False
