# [JavaScript (Node.js)], 46 bytes <!-- language-all: lang-javascript --> s=>/^.{9},.{13},.{9}$/.test(s.map(c=>c%7||.1)) [Try it online!][TIO-kgke0sr0] [JavaScript (Node.js)]: https://nodejs.org [TIO-kgke0sr0]: https://tio.run/##XU/NboMwDL7zFDmsItGoy08hoCrctifYrWvVKIMuEyOIsAmJ8uyMoNFIdSzL/n4c@Yv/ci1a2XTbWn0UU8kmzfLdGYZs9GAIIlOz8WkHXaE7rOGbN1iwXGzo7QYBIZPBBdcFYuhCaTI/k2ibo7f2p3CCKKZJSv0w2odpZuF5jhOaZv7SWfwx7szifeWVntuUJvE@CgPfYrOULgZ/df1rrdj8ZAn6GHfqArqpZIfd99oly8E9YjnqV9gIXUIOzno6lKp94eIT46P0kDoRIx8coWqtqgIqdcUlPgKAPNl1zz0hnvLkvGckh@kP "JavaScript (Node.js) – Try It Online" Take input as array of digits. Output truthy vs. falsy.