Return True if the command is allowed in expired-password sandbox mode.
(text: str)
| 554 | |
| 555 | |
| 556 | def is_sandbox_allowed(text: str) -> bool: |
| 557 | """Return True if the command is allowed in expired-password sandbox mode.""" |
| 558 | stmt_type, _ = classify_sandbox_statement(text) |
| 559 | return stmt_type is not None |
| 560 | |
| 561 | |
| 562 | def is_password_change(text: str) -> bool: |