'Return True if we are running against Hosted (rhn.redhat.com) or
False otherwise (when running against Satellite or Spacewalk)'

def _is_hosted(self):

    if ('rhn.redhat.com' in self.hostname):
        return True
    else:
        return False
