[parameters.base] add check_parameter() and use it instead of parse_parameter()

This allows to optimize all parameter checks away where the parameter
itself is not needed.