def time_like(line):
    """Test if a line looks like a timestamp"""
    # line might be like '12:33 - 12:48' or '19:03'
    if line.count(':') == 2:
        if line.count('-') >= 1:
            line_without = line.replace(':', '')
            line_without = line_without.replace('-', '')
            line_without = line_without.replace(' ', '')
            try:
                int(line_without)
                return True
            except ValueError:
                pass

    if line.count(':') == 1:
        line_without = line.replace(':', '')
        try:
            int(line_without)
            return True
        except ValueError:
            pass
    return False