check_level: Checks a given level is supported
Description
Checks a given level is supported
Usage
check_level(level, supported_levels)
Arguments
level
A character string indicating the current level.
supported_levels
A character vector of supported levels