Returns true if the object contains a statement.
bool has_statement() const noexcept;
No-throw guarantee.