H,W = map(int,input().split())

SS = []
for i in range(H):
    SS.append(list(input()))
    
def seekindices(h,w,H,W):
    cand = []
    for x in [-1,0,1]:
        for y in [-1,0,1]:
            if abs(x) == 1:
                if h + x >= 0 and h + x < H:
                    cand.append([h+x,w])
            elif abs(y) == 1:
                if w + y >=0 and w + y < W:
                    cand.append([h,w+y])
    return(cand)

ans = 'Yes'

for h in range(H):
    for w in range(W):
        seeks = seekindices(h,w,H,W)
        bochi = 0
        for s in seeks:
            i,j = s[:]
            if SS[i][j] == "#":
                bochi = 1
        if bochi == 0:
            ans = 'No'
            
print(ans)
    
