def get_class_globals(klass):
    """Returns a set of the globals defined in the given class.
    Globals are identified to be uppercase and do not start with an underscore.

    Arguments:
    klass -- The class whose globals need to be fetched.

    Returns:
    set -- of the class globals.
    """
    return {getattr(klass, attribute) for attribute in dir(klass) if not attribute.startswith('_') and attribute.isupper()}