def interface_global_type_check_method(interface_info):
    """Generate the name of the method on ExecutionContext used to check if the
       context matches the type of the interface, which is a global.

       Returns None for non-global interfaces.
    """
    if not interface_info.is_global:
        return None

    return 'Is%s' % interface_info.name