def is_start_piece(piece):
    'Check if the current word piece is the starting piece (BERT).'
    return (not piece.startswith('##'))
Check if the current word piece is the starting piece (BERT).
def is_start_piece(piece):
    
    return (not piece.startswith('##'))