isValid cannot be used in constexpr in C++14
The usage is restricted to how it's explained in the isValid doc. With C++17 the usage is extended as we can start to use the checking functions generated by isValid in constexpr settings which makes the syntax a bit less verbose.