(self, name, uid, rdb)
This will check to see if the
        specified monitor already exists or not
This will check to see if the
        specified monitor already exists or not
This will check to see if the specified monitor already exists or not
def exists(self, name, uid, rdb):
        '''
        This will check to see if the
        specified monitor already exists or not
        '''
        result = r.table('monitors').filter(
            {'name': name, 'uid': uid}).count().run(rdb)
        if result >= 1:
            return True
        else:
            return False
def exists ( self , name , uid , rdb ) : result = r . table ( 'monitors' ) . filter ( { 'name' : name , 'uid' : uid } ) . count ( ) . run ( rdb ) if result >= 1 : return True else : return False