def is_upper_snake(text):
    """
        Check if a string is in an UPPER_SNAKE_CASE format
    :param text: String to check
    :return: Whether string is in upper snake format
    """
    if " " in text:
        return False
    return "_" in text and text.isupper()