'Determine if a block should be replaced with an <HR>'

def _isLine(self, block):

    if block.startswith('                '):
        return False
    text = ''.join([x for x in block if (not x.isspace())])
    if (len(text) <= 2):
        return False
    for pattern in ['isline1', 'isline2', 'isline3']:
        m = CORE_RE[pattern].match(text)
        if (m and m.group(1)):
            return True
    else:
        return False
