'Determine whether the current system
Returns:
* Boolean - whether the current system is currently registered to
RHN.'

@property
def is_registered(self):

    if False:
        return (os.path.isfile('/etc/pki/consumer/cert.pem') and os.path.isfile('/etc/pki/consumer/key.pem'))
    args = ['subscription-manager', 'identity']
    (rc, stdout, stderr) = self.module.run_command(args, check_rc=False)
    if (rc == 0):
        return True
    else:
        return False
