# [JavaScript (Node.js)], 57 bytes

<!-- language-all: lang-javascript -->

    s=>(p=s.map(c=>c%7||.1)+'')[32]&&!p[33]&&p[9]+p[23]==',,'

[Try it online!][TIO-kghcuyg0]

[JavaScript (Node.js)]: https://nodejs.org
[TIO-kghcuyg0]: https://tio.run/##XVBfb4MgEH/vp2APKxAtUamiafBt@wR7YyYlVDcXJ0TcYrLuszs0syQ9Lrnj9@cI9yG/pVVDa8ZDry/13PDZ8hIZbsmnNEjxUj2y65XEOIAQC5pU@/2DEZS6akRRBUYktOIchiGcx9qOStoacHBmLHNnSXAowcvwVe9imrIsZ1FCj0leeNjd04zlRbR2Hr@PG7N6n2VnXZuzLD3SJI485qRsNUSb61/rxctLnmD3caPOxJquHRF87SFeNzIBXoJpgxchxPi0275OGj08SfWOkGhDoCu8yH92SvdWdzXp9BtqkCCEtJUfF0wYhzps3ZxffJr/AA "JavaScript (Node.js) – Try It Online"

Take input as array of digits. Output truthy vs. falsy.