(self, domain, rdb)
This will check to see if a domain with
        this name already exists, across all users
This will check to see if a domain with
        this name already exists, across all users
This will check to see if a domain with this name already exists across all users
def exists(self, domain, rdb):
        '''
        This will check to see if a domain with
        this name already exists, across all users
        '''
        result = r.table('domains').filter({'domain': domain}).count().run(rdb)
        if result >= 1:
            return True
        else:
            return False
def exists ( self , domain , rdb ) : result = r . table ( 'domains' ) . filter ( { 'domain' : domain } ) . count ( ) . run ( rdb ) if result >= 1 : return True else : return False