10 lines
316 B
Python
10 lines
316 B
Python
"""Справочные zootech-профили (norm_*) vs пользовательские стандарты."""
|
|
|
|
from __future__ import annotations
|
|
|
|
_REFERENCE_PREFIX = "norm_"
|
|
|
|
|
|
def is_reference_profile(profile_key: str | None) -> bool:
|
|
return bool(profile_key) and profile_key.startswith(_REFERENCE_PREFIX)
|