#abc096c. [abc096_c]Grid Repainting 2

[abc096_c]Grid Repainting 2

给定一个 nn * mm 的图案,# 表示黑色, .表示白色,问有无孤立的黑点。若有,输出 No ,否则输出 Yes

(此处孤立指它的四联通点都与它颜色不同)