def doWalkCorr(switches):
    """Returns True if we are going to do either xwlkcorr or ywlkcorr
    """
    if switches['xwlkcorr'] == 'PERFORM' or switches['ywlkcorr'] == 'PERFORM':
        return True
    else:
        return False
