def METHOD_NAME(func):
    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        global ibm_vpc, ibm_cloud_sdk_core, ibm_platform_services
        global ibm_boto3, ibm_botocore
        if None in [ibm_vpc, ibm_cloud_sdk_core, ibm_platform_services]:
            try:
                import ibm_boto3 as _ibm_boto3
                import ibm_botocore as _ibm_botocore
                import ibm_cloud_sdk_core as _ibm_cloud_sdk_core
                import ibm_platform_services as _ibm_platform_services
                import ibm_vpc as _ibm_vpc
                ibm_vpc = _ibm_vpc
                ibm_cloud_sdk_core = _ibm_cloud_sdk_core
                ibm_platform_services = _ibm_platform_services
                ibm_boto3 = _ibm_boto3
                ibm_botocore = _ibm_botocore
            except ImportError:
                raise ImportError(
                    'Failed to import dependencies for IBM. '
                    'Try running: pip install "skypilot[ibm]".\n') from None
        return func(*args, **kwargs)
    return wrapper