is_valid_session_name#
- pyCGM2.Utils.utils.is_valid_session_name(name: str) bool#
Check that a name strictly follows the
Session <integer>pattern.Valid examples:
Session 1,Session 12. Invalid examples:Session_1,Session1,Session 1 passage1,Session A.- Parameters:
name (str) – Name to check.
- Returns:
bool – True if the name is valid.