[fs.op.is.socket]
31 Input/output library [input.output]
31.12 File systems [filesystems]
31.12.13 Filesystem operation functions [fs.op.funcs]
31.12.13.24 Is socket [fs.op.is.socket]
bool filesystem::is_socket(file_status s) noexcept;
Returns: s.type() == file_type::socket.
bool filesystem::is_socket(const path& p);
bool filesystem::is_socket(const path& p, error_code& ec) noexcept;