def METHOD_NAME(self,fault_name = None, status = None, max_cycle=10):
    ''' 
    Check whether a fault is triggered. Poll till the fault is triggered
    @param name : Fault name
    @param status : Status to be checked - triggered/completed
    '''
    if (not fault_name) or (not status) :
        self.fail("Need a value for fault_name and status to continue")
    poll =0
    while(poll < max_cycle):
        (ok, out) = self.inject_fault(f=fault_name, y='status', r='primary')
        poll +=1
        for line in out.splitlines():
            if line.find(fault_name) > 0 and line.find(status) > 0 : 
                print "Fault %s is %s " % (fault_name,status)
                poll = 0 
                return True
        #sleep a while before start polling again
        sleep(10)   
    return False